public final class SecPadding
extends java.lang.Object
Supported padding types.
| Modifier and Type | Field and 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.
|
public static final int None
public static final int PKCS1
public static final int OAEP
public static final int SigRaw
public static final int PKCS1MD2
public static final int PKCS1MD5
public static final int PKCS1SHA1
public static final int PKCS1SHA224
public static final int PKCS1SHA256
public static final int PKCS1SHA384
public static final int PKCS1SHA512