public class KEKIdentifier extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private DERGeneralizedTime |
date |
private ASN1OctetString |
keyIdentifier |
private OtherKeyAttribute |
other |
BER, DER| Constructor and Description |
|---|
KEKIdentifier(ASN1Sequence seq) |
KEKIdentifier(byte[] keyIdentifier,
DERGeneralizedTime date,
OtherKeyAttribute other) |
| Modifier and Type | Method and Description |
|---|---|
DERGeneralizedTime |
getDate() |
static KEKIdentifier |
getInstance(ASN1TaggedObject obj,
boolean explicit)
return a KEKIdentifier object from a tagged object.
|
static KEKIdentifier |
getInstance(java.lang.Object obj)
return a KEKIdentifier object from the given object.
|
ASN1OctetString |
getKeyIdentifier() |
OtherKeyAttribute |
getOther() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodeprivate ASN1OctetString keyIdentifier
private DERGeneralizedTime date
private OtherKeyAttribute other
public KEKIdentifier(byte[] keyIdentifier,
DERGeneralizedTime date,
OtherKeyAttribute other)
public KEKIdentifier(ASN1Sequence seq)
public static KEKIdentifier getInstance(ASN1TaggedObject obj, boolean explicit)
obj - the tagged object holding the object we want.explicit - true if the object is meant to be explicitly
tagged false otherwise.java.lang.IllegalArgumentException - if the object held by the
tagged object cannot be converted.public static KEKIdentifier getInstance(java.lang.Object obj)
obj - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public ASN1OctetString getKeyIdentifier()
public DERGeneralizedTime getDate()
public OtherKeyAttribute getOther()
public DERObject toASN1Object()
KEKIdentifier ::= SEQUENCE {
keyIdentifier OCTET STRING,
date GeneralizedTime OPTIONAL,
other OtherKeyAttribute OPTIONAL
}
toASN1Object in class ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.