Class SecPadding


  • public final class SecPadding
    extends java.lang.Object
    [@typedef] SecPadding Supported padding types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int None  
      static int OAEP
      __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0) __TVOS_AVAILABLE(10.0) __WATCHOS_AVAILABLE(3.0),
      static int PKCS1  
      static int PKCS1MD2
      __OSX_DEPRECATED(10.0, 10.12, "MD2 is deprecated") __IOS_DEPRECATED(2.0, 5.0, "MD2 is deprecated") __TVOS_UNAVAILABLE __WATCHOS_UNAVAILABLE,
      static int PKCS1MD5
      __OSX_DEPRECATED(10.0, 10.12, "MD5 is deprecated") __IOS_DEPRECATED(2.0, 5.0, "MD5 is deprecated") __TVOS_UNAVAILABLE __WATCHOS_UNAVAILABLE,
      static int PKCS1SHA1
      For SecKeyRawSign/SecKeyRawVerify only, data to be signed is a SHA1 hash; standard ASN.1 padding will be done, as well as PKCS1 padding of the underlying RSA operation.
      static int PKCS1SHA224
      __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
      static int PKCS1SHA256
      __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
      static int PKCS1SHA384
      __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
      static int PKCS1SHA512
      __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
      static int SigRaw
      For SecKeyRawSign/SecKeyRawVerify only, ECDSA signature is raw byte format {r,s}, big endian.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OAEP

        public static final int OAEP
        __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0) __TVOS_AVAILABLE(10.0) __WATCHOS_AVAILABLE(3.0),
        See Also:
        Constant Field Values
      • SigRaw

        public static final int SigRaw
        For SecKeyRawSign/SecKeyRawVerify only, ECDSA signature is raw byte format {r,s}, big endian. First half is r, second half is s
        See Also:
        Constant Field Values
      • PKCS1MD2

        public static final int PKCS1MD2
        __OSX_DEPRECATED(10.0, 10.12, "MD2 is deprecated") __IOS_DEPRECATED(2.0, 5.0, "MD2 is deprecated") __TVOS_UNAVAILABLE __WATCHOS_UNAVAILABLE,
        See Also:
        Constant Field Values
      • PKCS1MD5

        public static final int PKCS1MD5
        __OSX_DEPRECATED(10.0, 10.12, "MD5 is deprecated") __IOS_DEPRECATED(2.0, 5.0, "MD5 is deprecated") __TVOS_UNAVAILABLE __WATCHOS_UNAVAILABLE,
        See Also:
        Constant Field Values
      • PKCS1SHA1

        public static final int PKCS1SHA1
        For SecKeyRawSign/SecKeyRawVerify only, data to be signed is a SHA1 hash; standard ASN.1 padding will be done, as well as PKCS1 padding of the underlying RSA operation.
        See Also:
        Constant Field Values
      • PKCS1SHA224

        public static final int PKCS1SHA224
        __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
        See Also:
        Constant Field Values
      • PKCS1SHA256

        public static final int PKCS1SHA256
        __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
        See Also:
        Constant Field Values
      • PKCS1SHA384

        public static final int PKCS1SHA384
        __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
        See Also:
        Constant Field Values
      • PKCS1SHA512

        public static final int PKCS1SHA512
        __OSX_UNAVAILABLE __IOS_AVAILABLE(2.0),
        See Also:
        Constant Field Values