kz.gamma.asn1.dvcs
Class ServiceType

java.lang.Object
  extended by kz.gamma.asn1.ASN1Encodable
      extended by kz.gamma.asn1.dvcs.ServiceType
All Implemented Interfaces:
DEREncodable

public class ServiceType
extends ASN1Encodable

ServiceType ::= ENUMERATED { cpd(1), vsd(2), cpkc(3), ccpd(4) }


Field Summary
static ServiceType CCPD
          Identifier of CCPD service (Certify Claim of Possession of Data).
static ServiceType CPD
          Identifier of CPD service (Certify Possession of Data).
private  DEREnumerated value
           
static ServiceType VPKC
          Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).
static ServiceType VSD
          Identifier of VSD service (Verify Signed Document).
 
Fields inherited from class kz.gamma.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
private ServiceType(DEREnumerated value)
           
  ServiceType(int value)
           
 
Method Summary
static ServiceType getInstance(ASN1TaggedObject obj, boolean explicit)
           
static ServiceType getInstance(java.lang.Object obj)
           
 java.math.BigInteger getValue()
           
 DERObject toASN1Object()
           
 java.lang.String toString()
           
 
Methods inherited from class kz.gamma.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CPD

public static final ServiceType CPD
Identifier of CPD service (Certify Possession of Data).


VSD

public static final ServiceType VSD
Identifier of VSD service (Verify Signed Document).


VPKC

public static final ServiceType VPKC
Identifier of VPKC service (Verify Public Key Certificates (also referred to as CPKC)).


CCPD

public static final ServiceType CCPD
Identifier of CCPD service (Certify Claim of Possession of Data).


value

private DEREnumerated value
Constructor Detail

ServiceType

public ServiceType(int value)

ServiceType

private ServiceType(DEREnumerated value)
Method Detail

getInstance

public static ServiceType getInstance(java.lang.Object obj)

getInstance

public static ServiceType getInstance(ASN1TaggedObject obj,
                                      boolean explicit)

getValue

public java.math.BigInteger getValue()

toASN1Object

public DERObject toASN1Object()
Specified by:
toASN1Object in class ASN1Encodable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.