Bouncy Castle Cryptography Library 1.85

org.bouncycastle.pkcs
Class DeltaCertificateRequestAttributeValue

java.lang.Object
  extended byorg.bouncycastle.pkcs.DeltaCertificateRequestAttributeValue
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable

public class DeltaCertificateRequestAttributeValue
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable

The delta certificate request attribute defined in draft-bonnell-lamps-chameleon-certs. Carries the alternate subject, public key, optional extensions and optional signature algorithm needed to derive the delta certificate request from the base PKCS#10 request.


Constructor Summary
DeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute)
          Construct from an Attribute whose first value is a DeltaCertificateRequest sequence.
 
Method Summary
 org.bouncycastle.asn1.x509.Extensions getExtensions()
          Return the extensions carried by the delta request, or if none are present.
static DeltaCertificateRequestAttributeValue getInstance(java.lang.Object o)
          Coerce an object into a DeltaCertificateRequestAttributeValue.
 org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm()
          Return the signature algorithm declared for the delta request's signature, or if the delta reuses the base request's signature algorithm.
 org.bouncycastle.asn1.x500.X500Name getSubject()
          Return the subject distinguished name, or if the delta request reuses the base request's subject.
 org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPKInfo()
          Return the alternate SubjectPublicKeyInfo carried by the delta request.
 org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaCertificateRequestAttributeValue

public DeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute)
Construct from an Attribute whose first value is a DeltaCertificateRequest sequence.

Parameters:
attribute - the carrier attribute taken from a PKCS#10 request.
Method Detail

getInstance

public static DeltaCertificateRequestAttributeValue getInstance(java.lang.Object o)
Coerce an object into a DeltaCertificateRequestAttributeValue.

Parameters:
o - either an existing instance, an ASN.1 sequence, or .
Returns:
the value, or if is null.

getSubject

public org.bouncycastle.asn1.x500.X500Name getSubject()
Return the subject distinguished name, or if the delta request reuses the base request's subject.


getSubjectPKInfo

public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPKInfo()
Return the alternate SubjectPublicKeyInfo carried by the delta request.


getExtensions

public org.bouncycastle.asn1.x509.Extensions getExtensions()
Return the extensions carried by the delta request, or if none are present.


getSignatureAlgorithm

public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm()
Return the signature algorithm declared for the delta request's signature, or if the delta reuses the base request's signature algorithm.


toASN1Primitive

public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Specified by:
toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable

Bouncy Castle Cryptography Library 1.85