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