org.openoces.ooapi.cert
Class PersonalOcesCertificate

java.lang.Object
  extended byorg.openoces.ooapi.cert.OcesCertificate
      extended byorg.openoces.ooapi.cert.PersonalOcesCertificate

public class PersonalOcesCertificate
extends OcesCertificate


Field Summary
protected  java.lang.Boolean isYouthCertificate
           
protected  PersonalOcesId ocesId
           
 
Fields inherited from class org.openoces.ooapi.cert.OcesCertificate
encapsulatedCert, parsedSubjectDN
 
Constructor Summary
PersonalOcesCertificate(java.security.cert.X509Certificate encapsulatedCert)
           
 
Method Summary
 OcesId getOcesId()
           
 PersonalOcesId getPersonalOcesId()
           
 boolean hasPseudonymCN()
           
 boolean isYouthCertificate()
           
 
Methods inherited from class org.openoces.ooapi.cert.OcesCertificate
canSignOCSPRequests, extractCRLDistributionPoints, getCRLDistributionPoint, getEncapsulatedCertificate, getParsedSubjectDN, getPartitionedCRLDistributionPoint, verify, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ocesId

protected PersonalOcesId ocesId

isYouthCertificate

protected java.lang.Boolean isYouthCertificate
Constructor Detail

PersonalOcesCertificate

public PersonalOcesCertificate(java.security.cert.X509Certificate encapsulatedCert)
Method Detail

getPersonalOcesId

public PersonalOcesId getPersonalOcesId()
                                 throws NonOcesCertificateException
Throws:
NonOcesCertificateException

getOcesId

public OcesId getOcesId()
                 throws NonOcesCertificateException
Specified by:
getOcesId in class OcesCertificate
Throws:
NonOcesCertificateException

hasPseudonymCN

public boolean hasPseudonymCN()
                       throws NonOcesCertificateException
Throws:
NonOcesCertificateException

isYouthCertificate

public boolean isYouthCertificate()
                           throws NonOcesCertificateException
Throws:
NonOcesCertificateException