パッケージ jcifs.smb

インタフェース SSPContext

  • 既知の実装クラスのリスト:
    NtlmContext

    public interface SSPContext
    作成者:
    mbechler
    • メソッドの詳細

      • isEstablished

        boolean isEstablished()
        戻り値:
        whether the context is established
      • initSecContext

        byte[] initSecContext​(byte[] token,
                              int off,
                              int len)
                       throws CIFSException
        パラメータ:
        token -
        off -
        len -
        戻り値:
        result token
        例外:
        SmbException
        CIFSException
      • getNetbiosName

        String getNetbiosName()
        戻り値:
        the name of the remote endpoint
      • isSupported

        boolean isSupported​(org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism)
        パラメータ:
        mechanism -
        戻り値:
        whether the specified mechanism is supported
      • isPreferredMech

        boolean isPreferredMech​(org.bouncycastle.asn1.ASN1ObjectIdentifier selectedMech)
        パラメータ:
        selectedMech -
        戻り値:
        whether the specified mechanism is preferred
      • getFlags

        int getFlags()
        戻り値:
        context flags
      • getSupportedMechs

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

        boolean supportsIntegrity()
        戻り値:
        whether this mechanisms supports integrity
      • calculateMIC

        byte[] calculateMIC​(byte[] data)
                     throws CIFSException
        パラメータ:
        data -
        戻り値:
        MIC
        例外:
        CIFSException
      • verifyMIC

        void verifyMIC​(byte[] data,
                       byte[] mic)
                throws CIFSException
        パラメータ:
        data -
        mic -
        例外:
        CIFSException
      • isMICAvailable

        boolean isMICAvailable()
        戻り値:
        whether MIC can be used