Save This Page
Home » openjdk-7 » javax.security » sasl » [javadoc | source]
javax.security.sasl
public interface: SaslServerExt [javadoc | source]

All Implemented Interfaces:
    SaslServer

The visible additional methods for a SASL server to support the SM2 protocol.
Method from javax.security.sasl.SaslServerExt Summary:
evaluateEvidence,   getSaslSecurityContext,   setSaslSecurityContext
Method from javax.security.sasl.SaslServerExt 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.