AmqpsProvisioningSymmetricKeySaslHandler 类
定义
Implementation of a SaslHandler that is designed to handle Sasl negotiation using TPM authentication against the Device Provisioning Service
public class AmqpsProvisioningSymmetricKeySaslHandler implements SaslHandler
- 继承
方法
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) |