Package jcifs.smb

Interface SSPContext

  • All Known Implementing Classes:
    NtlmContext

    public interface SSPContext
    Author:
    mbechler
    • Method Detail

      • isEstablished

        boolean isEstablished()
        Returns:
        whether the context is established
      • getNetbiosName

        String getNetbiosName()
        Returns:
        the name of the remote endpoint
      • isSupported

        boolean isSupported​(org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism)
        Parameters:
        mechanism -
        Returns:
        whether the specified mechanism is supported
      • isPreferredMech

        boolean isPreferredMech​(org.bouncycastle.asn1.ASN1ObjectIdentifier selectedMech)
        Parameters:
        selectedMech -
        Returns:
        whether the specified mechanism is preferred
      • getFlags

        int getFlags()
        Returns:
        context flags
      • getSupportedMechs

        org.bouncycastle.asn1.ASN1ObjectIdentifier[] getSupportedMechs()
        Returns:
        array of supported mechanism OIDs
      • supportsIntegrity

        boolean supportsIntegrity()
        Returns:
        whether this mechanisms supports integrity
      • isMICAvailable

        boolean isMICAvailable()
        Returns:
        whether MIC can be used