javax.xml.crypto.enc

Interface EncryptionMethod

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String AES128_CBC
      AES-128 Block Encryption Algorithm URI.
      static java.lang.String AES192_CBC
      AES-192 Block Encryption Algorithm URI.
      static java.lang.String AES256_CBC
      AES-256 Block Encryption Algorithm URI.
      static java.lang.String KW_AES128
      AES-128 Symmetric Key Wrap Algorithm URI.
      static java.lang.String KW_AES192
      AES-192 Symmetric Key Wrap Algorithm URI.
      static java.lang.String KW_AES256
      AES-256 Symmetric Key Wrap Algorithm URI.
      static java.lang.String KW_TRIPLEDES
      TRIPLEDES Symmetric Key Wrap Algorithm URI.
      static java.lang.String RSA_1_5
      RSA-PKCS1 Version 1.5 Key Transport Algorithm URI.
      static java.lang.String RSA_OAEP_MGF1P
      RSA-PKCS1 OAEP Key Transport Algorithm URI.
      static java.lang.String TRIPLEDES_CBC
      TRIPLEDES Block Encryption Algorithm URI.
    • Field Detail

      • TRIPLEDES_CBC

        static final java.lang.String TRIPLEDES_CBC
        TRIPLEDES Block Encryption Algorithm URI.
        See Also:
        Constant Field Values
      • AES128_CBC

        static final java.lang.String AES128_CBC
        AES-128 Block Encryption Algorithm URI.
        See Also:
        Constant Field Values
      • AES192_CBC

        static final java.lang.String AES192_CBC
        AES-192 Block Encryption Algorithm URI.
        See Also:
        Constant Field Values
      • AES256_CBC

        static final java.lang.String AES256_CBC
        AES-256 Block Encryption Algorithm URI.
        See Also:
        Constant Field Values
      • RSA_1_5

        static final java.lang.String RSA_1_5
        RSA-PKCS1 Version 1.5 Key Transport Algorithm URI.
        See Also:
        Constant Field Values
      • RSA_OAEP_MGF1P

        static final java.lang.String RSA_OAEP_MGF1P
        RSA-PKCS1 OAEP Key Transport Algorithm URI.
        See Also:
        Constant Field Values
      • KW_TRIPLEDES

        static final java.lang.String KW_TRIPLEDES
        TRIPLEDES Symmetric Key Wrap Algorithm URI.
        See Also:
        Constant Field Values
      • KW_AES128

        static final java.lang.String KW_AES128
        AES-128 Symmetric Key Wrap Algorithm URI.
        See Also:
        Constant Field Values
      • KW_AES192

        static final java.lang.String KW_AES192
        AES-192 Symmetric Key Wrap Algorithm URI.
        See Also:
        Constant Field Values
      • KW_AES256

        static final java.lang.String KW_AES256
        AES-256 Symmetric Key Wrap Algorithm URI.
        See Also:
        Constant Field Values
    • Method Detail

      • getKeySize

        java.lang.Integer getKeySize()
        Returns the size of the key to be used with this EncryptionMethod.
        Returns:
        the key size, or null if not specified
      • getParameterSpec

        java.security.spec.AlgorithmParameterSpec getParameterSpec()
        Returns algorithm-specific parameters for this EncryptionMethod. The returned parameters can be typecast to a EncryptionMethodParameterSpec object.
        Specified by:
        getParameterSpec in interface AlgorithmMethod
        Returns:
        the algorithm-specific input parameters of this EncryptionMethod. (may be null if not specified)
XML Security (JSR 105/106), 1.8

Copyright © 2015 IBM Corporation. All Rights Reserved.