Package org.bouncycastle.asn1.crmf
Class EncKeyWithID
- java.lang.Object
 - 
- org.bouncycastle.asn1.ASN1Object
 - 
- org.bouncycastle.asn1.crmf.EncKeyWithID
 
 
 
- 
- All Implemented Interfaces:
 ASN1Encodable,Encodable
public class EncKeyWithID extends ASN1Object
 
- 
- 
Constructor Summary
Constructors Constructor Description EncKeyWithID(PrivateKeyInfo privKeyInfo)EncKeyWithID(PrivateKeyInfo privKeyInfo, DERUTF8String str)EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1EncodablegetIdentifier()static EncKeyWithIDgetInstance(java.lang.Object o)PrivateKeyInfogetPrivateKey()booleanhasIdentifier()booleanisIdentifierUTF8String()ASN1PrimitivetoASN1Primitive()EncKeyWithID ::= SEQUENCE { privateKey PrivateKeyInfo, identifier CHOICE { string UTF8String, generalName GeneralName } OPTIONAL }- 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
EncKeyWithID
public EncKeyWithID(PrivateKeyInfo privKeyInfo)
 
- 
EncKeyWithID
public EncKeyWithID(PrivateKeyInfo privKeyInfo, DERUTF8String str)
 
- 
EncKeyWithID
public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
 
 - 
 
- 
Method Detail
- 
getInstance
public static EncKeyWithID getInstance(java.lang.Object o)
 
- 
getPrivateKey
public PrivateKeyInfo getPrivateKey()
 
- 
hasIdentifier
public boolean hasIdentifier()
 
- 
isIdentifierUTF8String
public boolean isIdentifierUTF8String()
 
- 
getIdentifier
public ASN1Encodable getIdentifier()
 
- 
toASN1Primitive
public ASN1Primitive 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.
 
 
 - 
 
 -