public class EncKeyWithID
extends ASN1Object
| Constructor and Description |
|---|
EncKeyWithID(PrivateKeyInfo privKeyInfo) |
EncKeyWithID(PrivateKeyInfo privKeyInfo,
ASN1UTF8String 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
}
|
public EncKeyWithID(PrivateKeyInfo privKeyInfo)
public EncKeyWithID(PrivateKeyInfo privKeyInfo,
ASN1UTF8String 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()