DOFCredentialsgetBytes Method OpenDOF Object Access Library
Get a byte array of a DOFCredentials that can be used to recreate it at a later time.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public byte[] getBytes()

Return Value

Type: Byte
A byte array containing private data that can be used with the create(byte[]) method to recreate the credential. If the credential is invalid then null is returned.
Remarks

Get a byte array of a DOFCredentials that can be used to recreate it at a later time. This data must be kept private, as it contains secret data associated with the credential. It must be protected just as the secrets themselves. It must never be passed in the clear or made public.
See Also

Reference