HealthShare Health Connect 2021.1Opens in a new window > Class Reference > %SYS namespace > %Net.SASL.CRAMMD5


class %Net.SASL.CRAMMD5 extends %Net.SASL.Base

The implementation of the CRAM-MD5 SASL security mechanism to be used with %Net.Authenticator, our implementation of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property MechanismName as %String [ InitialExpression = "CRAM-MD5" ];
The name of the security mechanism. This name must be one of SASL mechanism names that is registered with IANA.
Property methods: MechanismNameDisplayToLogical(), MechanismNameGet(), MechanismNameIsValid(), MechanismNameLogicalToDisplay(), MechanismNameLogicalToOdbc(), MechanismNameNormalize(), MechanismNameSet()
property state as %Integer [ Private ];
State of client side of authentication:
1 - return CRAM-MD5 result
Property methods: stateDisplayToLogical(), stateGet(), stateIsValid(), stateLogicalToDisplay(), stateNormalize(), stateSet()

Methods (Including Private)

private method ConvertToHex(str As %String) as %String [ Language = objectscript ]
Return string with each character converted to lower case hex.
Return next response based on challenge using the PLAIN SASL mechanism. Return value is false to indicate abort.
method Start(ByRef response As %String) as %Boolean [ Language = objectscript ]
Start authentication based on UserName and Password using the PLAIN SASL mechanism.
private method makeDigest(challenge As %String, secret As %String) as %String [ Language = objectscript ]
Compute keyed-MD5 digest.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window