Package org.bouncycastle.asn1.x509
Class SubjectAltPublicKeyInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.SubjectAltPublicKeyInfo
- All Implemented Interfaces:
ASN1Encodable
,Encodable
X.509 Section 9.8.2.
This public-key certificate extension, when present, shall contain the subject’s alternative public key information
NOTE – It is recommended that it be flagged as non-critical. Flagging it as critical would require relying parties to understand this extension and the alternative public-key algorithm.
This public-key certificate extension, when present, shall contain the subject’s alternative public key information
subjectAltPublicKeyInfo EXTENSION ::= { SYNTAX SubjectAltPublicKeyInfo IDENTIFIED BY id-ce-subjectAltPublicKeyInfo } SubjectAltPublicKeyInfo ::= SEQUENCE { algorithm AlgorithmIdentifier{{SupportedAlgorithms}}, subjectAltPublicKey BIT STRING }The SubjectAltPublicKeyInfo data type has the following components:
- the algorithm subcomponent, which shall hold the algorithm that this public key is an instance of
- the subjectAltPublicKey subcomponent, which shall hold the alternative public key
NOTE – It is recommended that it be flagged as non-critical. Flagging it as critical would require relying parties to understand this extension and the alternative public-key algorithm.
-
Constructor Summary
ConstructorsConstructorDescriptionSubjectAltPublicKeyInfo
(AlgorithmIdentifier algorithm, ASN1BitString subjectAltPublicKey) SubjectAltPublicKeyInfo
(SubjectPublicKeyInfo subjectPublicKeyInfo) -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectAltPublicKeyInfo
fromExtensions
(Extensions extensions) static SubjectAltPublicKeyInfo
getInstance
(Object obj) static SubjectAltPublicKeyInfo
getInstance
(ASN1TaggedObject obj, boolean explicit) Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
SubjectAltPublicKeyInfo
-
SubjectAltPublicKeyInfo
-
-
Method Details
-
getInstance
-
getInstance
-
fromExtensions
-
getAlgorithm
-
getSubjectAltPublicKey
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-