Home » openjdk-7 » javax.security » sasl » [javadoc | source]
javax.security.sasl
public interface: SaslClientExt [javadoc | source]

All Implemented Interfaces:
    SaslClient

The visible additional methods for a SASL client to support the SM2 protocol.
Method from javax.security.sasl.SaslClientExt Summary:
evaluateEvidence,   getSaslSecurityContext,   setSaslSecurityContext
Method from javax.security.sasl.SaslClientExt Detail:
 public byte[] evaluateEvidence(byte[] peerEvidence) throws SaslException
    Given the SASL mechanism peer's evidence, which may be null, this method is for SASL mechanisms capable of using the designated evidence to update or recycle their cryptographic data, so security services can still be provided, in a secure fashion, without the need to go through the authentication phase again.
 public AlgorithmParameterSpec getSaslSecurityContext() throws SaslException
 public  void setSaslSecurityContext(AlgorithmParameterSpec ctx) throws SaslException
    Sets the SASL Security Context of this SASL mechanism object to the designated value.