AmqpsProvisioningSaslHandler 类

定义

Implementation of a SaslHandler that is designed to handle Sasl negotiation using TPM authentication against the Device Provisioning Service

public class AmqpsProvisioningSaslHandler implements SaslHandler
继承
java.lang.Object
AmqpsProvisioningSaslHandler

方法

chooseSaslMechanism(String[] mechanisms)

Checks to ensure that TPM is an available mechanism and chooses it

getInitPayload(String chosenMechanism)

Builds the init payload out of the saved idScope, registrationId, and endorsementKey

getPlainPassword()
getPlainUsername()
handleChallenge(byte[] saslChallenge)

Handles the three expected challenges from the service that happen in Sasl negotiation

handleOutcome(SaslOutcome outcome)

Handles the outcome of the Sasl negotiation

setSasToken(String sasToken)

Sets the value of this object's saved sas token. Should only be called when that sas token was generated using the nonce retrieved from the Device Provisioning service.

适用于