Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class AltSignatureValue

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1BitString, .ASN1Object, .ASN1Primitive, .ASN1TaggedObject, .DERBitString

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.
altSignatureValue EXTENSION ::= {
    SYNTAX AltSignatureValue
    IDENTIFIED BY id-ce-altSignatureValue }

AltSignatureValue ::= BIT STRING
This 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:

Field Summary

Modifier and TypeField and Description
private final ASN1BitString

Constructor Summary

AccessConstructor and Description
private
public
AltSignatureValue(byte[]
a signature value, based on the enclosing certificate.
signature
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public static AltSignatureValue
public static AltSignatureValue
getInstance(ASN1TaggedObject obj, boolean explicit)

public static AltSignatureValue
public ASN1BitString

Returns:

certificate's alternate signature.
getSignature
()

Return the alternate signature to verify the certificate.

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

signatureback to summary
private final ASN1BitString signature

Constructor Detail

AltSignatureValueback to summary
private AltSignatureValue(ASN1BitString signature)
AltSignatureValueback to summary
public AltSignatureValue(byte[] signature)

Base constructor.

Parameters
signature:byte[]

a signature value, based on the enclosing certificate.

Method Detail

fromExtensionsback to summary
public static AltSignatureValue fromExtensions(Extensions extensions)
getInstanceback to summary
public static AltSignatureValue getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static AltSignatureValue getInstance(Object obj)
getSignatureback to summary
public ASN1BitString getSignature()

Return the alternate signature to verify the certificate.

Returns:ASN1BitString

certificate's alternate signature.

toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.