AuthenticatorCredentialStoragegetSharedSecret Method OpenDOF Object Access Library
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: Byte
The 256-bit shared secret associated with the credential.
Exceptions

ExceptionCondition
DOFSecurityExceptionIf private storage is not valid for the credential.
Remarks

Return the shared secret from the authenticator's private storage. This method extracts the shared secret from the supplied private storage, and requires server-side knowledge of the credential.
See Also

Reference