deleteCredentialByName

abstract fun deleteCredentialByName(@NonNull credentialName: String): Array<Byte>

Deprecated

Use delete instead.

Delete a named credential.

This method returns a COSE_Sign1 data structure signed by the CredentialKey with payload set to ProofOfDeletion as defined below:

    ProofOfDeletion = [
         "ProofOfDeletion",            ; tstr
         tstr,                         ; DocType
         bool                          ; true if this is a test credential, should
                                       ; always be false.
     ]

Return

null if the credential was not found, the COSE_Sign1 data structure above if the credential was found and deleted.

Parameters

credentialName

the name of the credential to delete.