public class

EncKeyWithID

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.crmf.EncKeyWithID

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
EncKeyWithID(PrivateKeyInfo privKeyInfo)
EncKeyWithID(PrivateKeyInfo privKeyInfo, DERUTF8String str)
EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
Public Methods
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
 }
 
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public EncKeyWithID (PrivateKeyInfo privKeyInfo)

public EncKeyWithID (PrivateKeyInfo privKeyInfo, DERUTF8String str)

public EncKeyWithID (PrivateKeyInfo privKeyInfo, GeneralName generalName)

Public Methods

public ASN1Encodable getIdentifier ()

public static EncKeyWithID getInstance (Object o)

public PrivateKeyInfo getPrivateKey ()

public boolean hasIdentifier ()

public boolean isIdentifierUTF8String ()

public DERObject toASN1Object ()

 EncKeyWithID ::= SEQUENCE {
      privateKey           PrivateKeyInfo,
      identifier CHOICE {
         string               UTF8String,
         generalName          GeneralName
     } OPTIONAL
 }