Return the shared secret from the authenticator's private storage.
Namespace: org.opendof.core.internal_Renamed.protocol.security.credentials
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.0.99
Syntax
C#
byte[] getSharedSecret( byte[] privateStorage )
Parameters
- privateStorage
- Type: SystemByte
The credential storage data, which is obtained using a previous call to org.opendof.core.oal.DOFCredentials.getPrivateStorage() . Must not be null.
Return Value
Type: ByteThe 256-bit shared secret associated with the credential.
Exceptions
| Exception | Condition |
|---|---|
| DOFSecurityException | If private storage is not valid for the credential. |
Remarks
See Also