public class EncKeyWithID extends ASN1Object
Constructor and Description |
---|
EncKeyWithID(PrivateKeyInfo privKeyInfo) |
EncKeyWithID(PrivateKeyInfo privKeyInfo,
DERUTF8String str) |
EncKeyWithID(PrivateKeyInfo privKeyInfo,
GeneralName generalName) |
Modifier and Type | Method and Description |
---|---|
ASN1Encodable |
getIdentifier() |
static EncKeyWithID |
getInstance(java.lang.Object o) |
PrivateKeyInfo |
getPrivateKey() |
boolean |
hasIdentifier() |
boolean |
isIdentifierUTF8String() |
ASN1Primitive |
toASN1Primitive()
EncKeyWithID ::= SEQUENCE {
privateKey PrivateKeyInfo,
identifier CHOICE {
string UTF8String,
generalName GeneralName
} OPTIONAL
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public EncKeyWithID(PrivateKeyInfo privKeyInfo)
public EncKeyWithID(PrivateKeyInfo privKeyInfo, DERUTF8String str)
public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
public static EncKeyWithID getInstance(java.lang.Object o)
public PrivateKeyInfo getPrivateKey()
public boolean hasIdentifier()
public boolean isIdentifierUTF8String()
public ASN1Encodable getIdentifier()
public ASN1Primitive toASN1Primitive()
EncKeyWithID ::= SEQUENCE { privateKey PrivateKeyInfo, identifier CHOICE { string UTF8String, generalName GeneralName } OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object