org.bouncycastle.asn1.cms
Class OriginatorIdentifierOrKey
- DEREncodable
public class OriginatorIdentifierOrKey
OriginatorIdentifierOrKey
public OriginatorIdentifierOrKey(ASN1OctetString id)
OriginatorIdentifierOrKey
public OriginatorIdentifierOrKey(DERObject id)
getInstance
public static OriginatorIdentifierOrKey getInstance(Object o)
return an OriginatorIdentifierOrKey object from the given object.
o
- the object we want converted.
getInstance
public static OriginatorIdentifierOrKey getInstance(ASN1TaggedObject o,
boolean explicit)
return an OriginatorIdentifierOrKey object from a tagged object.
o
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly
tagged false otherwise.
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
OriginatorIdentifierOrKey ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier,
originatorKey [1] OriginatorPublicKey
}
SubjectKeyIdentifier ::= OCTET STRING
- toASN1Object in interface ASN1Encodable