CredentialsgetSharedSecret Method OpenDOF Object Access Library
Return the shared secret that is associated with this credential.

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()

Return Value

Type: Byte
The 256-bit shared secret associated with the credentials.
Exceptions

ExceptionCondition
DOFSecurityExceptionIf the secret is not known (credentials is not resolved).
Remarks

Return the shared secret that is associated with this credential. In some cases this shared secret is known immediately. In other cases the credentials must be resolved before it can be returned.
See Also

Reference