public final class C509SignatureAlgorithm
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ECDH_POP_SHA256_HMAC_SHA256
RFC 6955 proof-of-possession with SHA-256 and HMAC-SHA256 (1.3.6.1.5.5.7.6.26).
|
static int |
ECDH_POP_SHA384_HMAC_SHA384
RFC 6955 proof-of-possession with SHA-384 and HMAC-SHA384 (1.3.6.1.5.5.7.6.27).
|
static int |
ECDH_POP_SHA512_HMAC_SHA512
RFC 6955 proof-of-possession with SHA-512 and HMAC-SHA512 (1.3.6.1.5.5.7.6.28).
|
static int |
ECDSA_WITH_SHA1
ECDSA with SHA-1 (1.2.840.10045.4.1).
|
static int |
ECDSA_WITH_SHA256
ECDSA with SHA-256 (1.2.840.10045.4.3.2).
|
static int |
ECDSA_WITH_SHA384
ECDSA with SHA-384 (1.2.840.10045.4.3.3).
|
static int |
ECDSA_WITH_SHA512
ECDSA with SHA-512 (1.2.840.10045.4.3.4).
|
static int |
ECDSA_WITH_SHAKE128
ECDSA with SHAKE128 (1.3.6.1.5.5.7.6.32).
|
static int |
ECDSA_WITH_SHAKE256
ECDSA with SHAKE256 (1.3.6.1.5.5.7.6.33).
|
static int |
ED25519
Ed25519 (1.3.101.112).
|
static int |
ED448
Ed448 (1.3.101.113).
|
static int |
RSASSA_PKCS1_V15_WITH_SHA1
RSASSA-PKCS1-v1_5 with SHA-1 (1.2.840.113549.1.1.5).
|
static int |
RSASSA_PKCS1_V15_WITH_SHA256
RSASSA-PKCS1-v1_5 with SHA-256 (1.2.840.113549.1.1.11).
|
static int |
RSASSA_PKCS1_V15_WITH_SHA384
RSASSA-PKCS1-v1_5 with SHA-384 (1.2.840.113549.1.1.12).
|
static int |
RSASSA_PKCS1_V15_WITH_SHA512
RSASSA-PKCS1-v1_5 with SHA-512 (1.2.840.113549.1.1.13).
|
static int |
RSASSA_PSS_WITH_SHA256
RSASSA-PSS with SHA-256, MGF-1 with SHA-256 and a 32 octet salt (1.2.840.113549.1.1.10).
|
static int |
RSASSA_PSS_WITH_SHA384
RSASSA-PSS with SHA-384, MGF-1 with SHA-384 and a 48 octet salt (1.2.840.113549.1.1.10).
|
static int |
RSASSA_PSS_WITH_SHA512
RSASSA-PSS with SHA-512, MGF-1 with SHA-512 and a 64 octet salt (1.2.840.113549.1.1.10).
|
static int |
RSASSA_PSS_WITH_SHAKE128
RSASSA-PSS with SHAKE128 (1.3.6.1.5.5.7.6.30).
|
static int |
RSASSA_PSS_WITH_SHAKE256
RSASSA-PSS with SHAKE256 (1.3.6.1.5.5.7.6.31).
|
static int |
SM2_WITH_SM3
SM2 with SM3 (1.2.156.10197.1.501).
|
static int |
UNSIGNED
Unsigned (1.3.6.1.5.5.7.6.36).
|
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithmIdentifier(int value)
Return the AlgorithmIdentifier a registered value stands for, or null if the
value is not registered.
|
static java.lang.Integer |
getValue(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithm)
Return the registered value for an AlgorithmIdentifier, matching its complete
encoding including parameters, or null if it is not registered.
|
static boolean |
isDhSigStaticFormat(int value)
Return true if the registry value is one of the RFC 6955 proof-of-possession
algorithms (values 14 to 16), whose signature value has the DhSigStatic syntax
of Section 4.2 rather than being a signature.
|
static boolean |
isEcdsaFormat(int value)
Return true if the value identifies an algorithm whose signature value is an
ECDSA style pair of integers, encoded in C509 as a fixed width r || s byte
string in the manner of Section 2.1 of RFC 9053 (see Section 3.2.2 of the
draft).
|
public static final int RSASSA_PKCS1_V15_WITH_SHA1
public static final int ECDSA_WITH_SHA1
public static final int ECDSA_WITH_SHA256
public static final int ECDSA_WITH_SHA384
public static final int ECDSA_WITH_SHA512
public static final int ECDSA_WITH_SHAKE128
public static final int ECDSA_WITH_SHAKE256
public static final int UNSIGNED
public static final int SM2_WITH_SM3
public static final int ED25519
public static final int ED448
public static final int ECDH_POP_SHA256_HMAC_SHA256
public static final int ECDH_POP_SHA384_HMAC_SHA384
public static final int ECDH_POP_SHA512_HMAC_SHA512
public static final int RSASSA_PKCS1_V15_WITH_SHA256
public static final int RSASSA_PKCS1_V15_WITH_SHA384
public static final int RSASSA_PKCS1_V15_WITH_SHA512
public static final int RSASSA_PSS_WITH_SHA256
public static final int RSASSA_PSS_WITH_SHA384
public static final int RSASSA_PSS_WITH_SHA512
public static final int RSASSA_PSS_WITH_SHAKE128
public static final int RSASSA_PSS_WITH_SHAKE256
public static org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier(int value)
public static java.lang.Integer getValue(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithm)
public static boolean isEcdsaFormat(int value)
public static boolean isDhSigStaticFormat(int value)