CredPDUFactorycreateCredentials Method OpenDOF Object Access Library
Create Credentials from the serialized form.

Namespace: org.opendof.core.internal_Renamed.protocol.security.credentials
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.0.99
Syntax

C#
public static Credentials createCredentials(
	DOFMarshalContext context,
	Object state,
	DOFPacket p
)

Parameters

context
Type: org.opendof.core.oalDOFMarshalContext
The context. This must be STORE.
state
Type: SystemObject
The state. Typically null.
p
Type: org.opendof.core.oalDOFPacket
The packet containing the serialized credentials.

Return Value

Type: Credentials
The resulting credentials
Exceptions

ExceptionCondition
DOFMarshalExceptionWhen serialized credentials is malformed.
Remarks

Create Credentials from the serialized form. Note that this will never be sent on the wire. It should only be used for storage.
See Also

Reference