Package org.bouncycastle.asn1.x509
Class AltSignatureValue
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.AltSignatureValue
- All Implemented Interfaces:
ASN1Encodable
,Encodable
X.509 Section 9.8.4.
This extension may be used as a public-key certificate extension, a CRL extension or an AVL extension. This alternative signature shall be created by the issuer using its alternative private key, and it shall be verified using the alternative public key of the issuer.
The procedures for creating and validating alternative digital signatures are specified in:
This extension may be used as a public-key certificate extension, a CRL extension or an AVL extension. This alternative signature shall be created by the issuer using its alternative private key, and it shall be verified using the alternative public key of the issuer.
altSignatureValue EXTENSION ::= { SYNTAX AltSignatureValue IDENTIFIED BY id-ce-altSignatureValue } AltSignatureValue ::= BIT STRINGThis extension can only be created by a signer holding a multiple cryptographic algorithms public-key certificate. When creating the alternative digital signature on an issued public-key certificate or CRL, the signer shall use its alternative private key.
The procedures for creating and validating alternative digital signatures are specified in:
- clause 7.2.2 for public-key certificates;
- clause 7.10.3 for CRLs: and
- clause 11.4 for AVLs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AltSignatureValue
fromExtensions
(Extensions extensions) static AltSignatureValue
getInstance
(Object obj) static AltSignatureValue
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
-
AltSignatureValue
public AltSignatureValue(byte[] signature)
-
-
Method Details
-
getInstance
-
getInstance
-
fromExtensions
-
getSignature
-
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.
-