public class EntrustEncCertPOP extends java.lang.Object implements ASN1Type
-- POP for encryption certificates when private key created at client
-- and not backed up at SM
EntrustEncCertPOP ::= SEQUENCE SIZE (1..MAX) OF EntrustCertHash
entrustEncCertPOP OBJECT-TYPE
SYNTAX EntrustEncCertPOP
ACCESS read-write
STATUS mandatory
::= { 2 16 840 1 114027 50 13}
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The object identifier for an EntrustEncCertPOP.
|
| Constructor and Description |
|---|
EntrustEncCertPOP(ASN1Object obj)
Creates a new
EntrustEncCertPOP from an
ASN1Object. |
EntrustEncCertPOP(EntrustCertHash encCertPOP)
Creates a new
EntrustEncCertPOP object with a single entry
of encryption certificate proof-of-possession information. |
EntrustEncCertPOP(EntrustCertHash[] encCertPOP)
Creates a new
EntrustEncCertPOP object with the specified
component. |
| Modifier and Type | Method and Description |
|---|---|
void |
addEncCertPOP(EntrustCertHash encCertPOP)
Adds an encryption certificate proof-of-possession information entry to
the set of encryptio certificate proot-of-possession information.
|
void |
decode(ASN1Object obj)
Decodes an EntrustEncCertPOP from an
ASN1Object. |
EntrustCertHash[] |
getEncCertPOP()
Returns the set of encryption certificate proof-of-possession information.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustEncCertPOP object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustEncCertPOP object. |
public static final ObjectID oid
public EntrustEncCertPOP(EntrustCertHash encCertPOP)
EntrustEncCertPOP object with a single entry
of encryption certificate proof-of-possession information.encCertPOP - encryption certificate proof-of-possession informationjava.lang.IllegalArgumentException - thrown if the encryption certificate proof-of-possession information
is nullpublic EntrustEncCertPOP(EntrustCertHash[] encCertPOP)
EntrustEncCertPOP object with the specified
component.encCertPOP - a set of encryption certificate proof-of-possession informationjava.lang.IllegalArgumentException - thrown if the set of encryption certificate proof-of-possession
information is null, or contains no componentspublic EntrustEncCertPOP(ASN1Object obj) throws CodingException
EntrustEncCertPOP from an
ASN1Object. The ASN1Object must be an
EntrustEncCertPOP structure.obj - the ASN.1 representation of an EntrustEncCertPOP structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic EntrustCertHash[] getEncCertPOP()
public void addEncCertPOP(EntrustCertHash encCertPOP)
If encCertPOP is null, it is not added.
encCertPOP - an encryption certificate proof-of-possession information entrypublic void decode(ASN1Object obj) throws CodingException
ASN1Object. The
ASN1Object must be an EntrustEncCertPOP structure.decode in interface ASN1Typeobj - an ASN.1 representation of a EntrustEncCertPOP structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic ASN1Object toASN1Object()
EntrustEncCertPOP object as an
ASN1Object.toASN1Object in interface ASN1Typepublic java.lang.String toString()
EntrustEncCertPOP object.toString in class java.lang.Object