Package org.bouncycastle.asn1.dvcs
Class ServiceType
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.dvcs.ServiceType
- All Implemented Interfaces:
ASN1Encodable,Encodable
ServiceType ::= ENUMERATED { cpd(1), vsd(2), cpkc(3), ccpd(4) }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceTypeIdentifier of CCPD service (Certify Claim of Possession of Data).static final ServiceTypeIdentifier of CPD service (Certify Possession of Data).static final ServiceTypeIdentifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).static final ServiceTypeIdentifier of VSD service (Verify Signed Document). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceTypegetInstance(Object obj) static ServiceTypegetInstance(ASN1TaggedObject obj, boolean explicit) getValue()Method providing a primitive representation of this object suitable for encoding.toString()Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
CPD
Identifier of CPD service (Certify Possession of Data). -
VSD
Identifier of VSD service (Verify Signed Document). -
VPKC
Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)). -
CCPD
Identifier of CCPD service (Certify Claim of Possession of Data).
-
-
Constructor Details
-
ServiceType
public ServiceType(int value)
-
-
Method Details
-
getInstance
-
getInstance
-
getValue
-
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
toString
-