public final class C509PublicKeyAlgorithm
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
EC_BRAINPOOLP256R1
id-ecPublicKey (1.2.840.10045.2.1) on brainpoolP256r1.
|
static int |
EC_BRAINPOOLP384R1
id-ecPublicKey (1.2.840.10045.2.1) on brainpoolP384r1.
|
static int |
EC_BRAINPOOLP512R1
id-ecPublicKey (1.2.840.10045.2.1) on brainpoolP512r1.
|
static int |
EC_FRP256V1
id-ecPublicKey (1.2.840.10045.2.1) on FRP256v1.
|
static int |
EC_SECP256R1
id-ecPublicKey (1.2.840.10045.2.1) on secp256r1; subjectPublicKey encoded as in Section 3.2.1.
|
static int |
EC_SECP384R1
id-ecPublicKey (1.2.840.10045.2.1) on secp384r1.
|
static int |
EC_SECP521R1
id-ecPublicKey (1.2.840.10045.2.1) on secp521r1.
|
static int |
EC_SM2P256V1
id-ecPublicKey (1.2.840.10045.2.1) on sm2p256v1.
|
static int |
ED25519
id-Ed25519 (1.3.101.112).
|
static int |
ED448
id-Ed448 (1.3.101.113).
|
static int |
RSA
rsaEncryption (1.2.840.113549.1.1.1); subjectPublicKey encoded as in Section 3.2.1.
|
static int |
X25519
id-X25519 (1.3.101.110).
|
static int |
X448
id-X448 (1.3.101.111).
|
| 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 org.bouncycastle.asn1.ASN1ObjectIdentifier |
getCurveOID(int value)
Return the named curve object identifier for a Weierstrass form entry, or null
for any other value.
|
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 |
isWeierstrassPoint(int value)
Return true if the value identifies an id-ecPublicKey algorithm carrying a
Weierstrass form point, to which the point compression of Section 3.2.1 applies.
|
public static final int RSA
public static final int EC_SECP256R1
public static final int EC_SECP384R1
public static final int EC_SECP521R1
public static final int EC_SM2P256V1
public static final int X25519
public static final int X448
public static final int ED25519
public static final int ED448
public static final int EC_BRAINPOOLP256R1
public static final int EC_BRAINPOOLP384R1
public static final int EC_BRAINPOOLP512R1
public static final int EC_FRP256V1
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 isWeierstrassPoint(int value)
public static org.bouncycastle.asn1.ASN1ObjectIdentifier getCurveOID(int value)