public class EncKeyWithID extends ASN1Encodable
BER, DER| 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(Object o) |
PrivateKeyInfo |
getPrivateKey() |
boolean |
hasIdentifier() |
boolean |
isIdentifierUTF8String() |
DERObject |
toASN1Object()
EncKeyWithID ::= SEQUENCE {
privateKey PrivateKeyInfo,
identifier CHOICE {
string UTF8String,
generalName GeneralName
} OPTIONAL
}
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic EncKeyWithID(PrivateKeyInfo privKeyInfo)
public EncKeyWithID(PrivateKeyInfo privKeyInfo, DERUTF8String str)
public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
public static EncKeyWithID getInstance(Object o)
public PrivateKeyInfo getPrivateKey()
public boolean hasIdentifier()
public boolean isIdentifierUTF8String()
public ASN1Encodable getIdentifier()
public DERObject toASN1Object()
EncKeyWithID ::= SEQUENCE {
privateKey PrivateKeyInfo,
identifier CHOICE {
string UTF8String,
generalName GeneralName
} OPTIONAL
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.