Construct Key credentials from an authentication domain, objectID and key.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public static DOFCredentials create( DOFObjectIDDomain domainID, DOFObjectIDAuthentication identity, byte[] key )
Parameters
- domainID
- Type: org.opendof.core.oalDOFObjectIDDomain
The authentication domain identifier. This may be BROADCAST, in which case the server will choose a domain. This must not be null. - identity
- Type: org.opendof.core.oalDOFObjectIDAuthentication
The authentication identity. This must not be null. - key
- Type: SystemByte
The authentication 32 byte key. This must be 32 bytes and not null.
Return Value
Type: DOFCredentialsThe new DOFCredentials.
Remarks
See Also