|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.x509.extensions.qualified.structures.QCStatementInfo | +--iaik.x509.extensions.qualified.structures.etsi.QcEuCompliance
This class implements the QcEuCompliance
QCStatementInfo.
The QcEuCompliance statement info is associated with a specific statement identifier, derived from:
id-etsi-qcs OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) id-qc-profile(1862) 1 } id-etsi-qcs-QcCompliance OBJECT IDENTIFIER ::= { id-etsi-qcs 1 }
which corresponds to the OID string "0.4.0.1862.1.1".
The Qualified Certificate profile specifies the QcEuCompliance statement info for indicating that the containing certificate has been issued as a Qualified certificate according Annex I and II of the Directive 1999/93/EC of the European Parliament and of the Council of 13 December 1999 on a Community framework for electronic signatures, as implemented in the law of the country specified in the issuer field of this certificate.
After creating a QcEuCompliance object create a QCStatement
object for the QcEuCompliance and add the QCStatement to
a QCStatements
certificate extension, e.g.:
// create the QcEuCompliance: QcEuCompliance qcEuCompliance = new QcEuCompliance(); // create a QCStatement for the QcEuCompliance: QCStatement[] qcStatements = ...; qcStatements[0] = new QCStatement(qcEuCompliance); // add any further QCStatements ... // create a QCStatements extension from the QCStatements: QCStatements qcStatementsExt = new QCStatements(qcStatements); // add the extension to a certificate cert.addExtension(qcStatementsExt);
QCStatementInfo
,
QCStatement
,
QCStatements
Field Summary | |
static ObjectID |
statementID
The statement id of the QcEuCompliance statement info. |
Constructor Summary | |
QcEuCompliance()
Default constructor. |
Method Summary | |
void |
decode(ASN1Object obj)
Decodes a QcEuCompliance from its ASN.1 representation. |
ObjectID |
getStatementID()
Returns the statement ID identifying this QcEuCompliance
statement info.
|
ASN1Object |
toASN1Object()
Returns an ASN1Object representing this QcEuCompliance
object.
|
String |
toString()
Returns a string that represents the contents of this QcEuCompliance statement info. |
Methods inherited from class iaik.x509.extensions.qualified.structures.QCStatementInfo |
getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ObjectID statementID
Constructor Detail |
public QcEuCompliance()
QcEuCompliance
object.Method Detail |
public ObjectID getStatementID()
QcEuCompliance
statement info.
The corresponding OID string is "0.4.0.1862.1.1".getStatementID
in class QCStatementInfo
QcEuCompliance
statement infopublic void decode(ASN1Object obj) throws CodingException
The given ASN1Object represents a QcEuCompliance statement info not including the statementID.
decode
in class QCStatementInfo
obj
- the QcEuCompliance as ASN1ObjectCodingException
- if the object cannot be parsedpublic ASN1Object toASN1Object()
QcEuCompliance
object.
This method returns null since QcEUCompliance has no statement info.
toASN1Object
in class QCStatementInfo
public String toString()
QcEuCompliance
statement info.toString
in class QCStatementInfo
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |