org.bouncycastle.asn1.cms
public class OriginatorIdentifierOrKey extends ASN1Encodable
| Method Summary | |
|---|---|
| DEREncodable | getId() |
| static OriginatorIdentifierOrKey | getInstance(ASN1TaggedObject o, boolean explicit)
return an OriginatorIdentifierOrKey object from a tagged object.
|
| static OriginatorIdentifierOrKey | getInstance(Object o)
return an OriginatorIdentifierOrKey object from the given object.
|
| OriginatorPublicKey | getOriginatorKey() |
| DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
Parameters: o the tagged object holding the object we want. explicit true if the object is meant to be explicitly tagged false otherwise.
Throws: IllegalArgumentException if the object held by the tagged object cannot be converted.
Parameters: o the object we want converted.
Throws: IllegalArgumentException if the object cannot be converted.
OriginatorIdentifierOrKey ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier,
originatorKey [1] OriginatorPublicKey
}
SubjectKeyIdentifier ::= OCTET STRING