Package org.bouncycastle.asn1.crmf
Class EncKeyWithID
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.EncKeyWithID
- All Implemented Interfaces:
ASN1Encodable,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionEncKeyWithID(PrivateKeyInfo privKeyInfo) EncKeyWithID(PrivateKeyInfo privKeyInfo, DERUTF8String str) EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName) -
Method Summary
Modifier and TypeMethodDescriptionstatic EncKeyWithIDbooleanbooleanEncKeyWithID ::= SEQUENCE { privateKey PrivateKeyInfo, identifier CHOICE { string UTF8String, generalName GeneralName } OPTIONAL }Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
EncKeyWithID
-
EncKeyWithID
-
EncKeyWithID
-
-
Method Details
-
getInstance
-
getPrivateKey
-
hasIdentifier
public boolean hasIdentifier() -
isIdentifierUTF8String
public boolean isIdentifierUTF8String() -
getIdentifier
-
toASN1Primitive
EncKeyWithID ::= SEQUENCE { privateKey PrivateKeyInfo, identifier CHOICE { string UTF8String, generalName GeneralName } OPTIONAL }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- an ASN.1 primitive composition of this EncKeyWithID.
-