Package org.conscrypt

Class OpenSSLEvpCipherARC4

    • Constructor Detail

      • OpenSSLEvpCipherARC4

        public OpenSSLEvpCipherARC4()
    • Method Detail

      • getBaseCipherName

        java.lang.String getBaseCipherName()
        Description copied from class: OpenSSLCipher
        Returns the standard name for the particular algorithm.
        Specified by:
        getBaseCipherName in class OpenSSLCipher
      • checkSupportedKeySize

        void checkSupportedKeySize​(int keySize)
                            throws java.security.InvalidKeyException
        Description copied from class: OpenSSLCipher
        Checks whether the cipher supports this particular keySize (in bytes) and throws InvalidKeyException if it doesn't.
        Specified by:
        checkSupportedKeySize in class OpenSSLCipher
        Throws:
        java.security.InvalidKeyException
      • checkSupportedMode

        void checkSupportedMode​(OpenSSLCipher.Mode mode)
                         throws java.security.NoSuchAlgorithmException
        Description copied from class: OpenSSLCipher
        Checks whether the cipher supports this particular cipher mode and throws NoSuchAlgorithmException if it doesn't.
        Specified by:
        checkSupportedMode in class OpenSSLCipher
        Throws:
        java.security.NoSuchAlgorithmException
      • checkSupportedPadding

        void checkSupportedPadding​(OpenSSLCipher.Padding padding)
                            throws javax.crypto.NoSuchPaddingException
        Description copied from class: OpenSSLCipher
        Checks whether the cipher supports this particular cipher padding and throws NoSuchPaddingException if it doesn't.
        Specified by:
        checkSupportedPadding in class OpenSSLCipher
        Throws:
        javax.crypto.NoSuchPaddingException