public class QcEuSSCD extends QCStatementInfo
QcEuSSCD
QCStatementInfo.
The QcEuSSCD 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-QcSSCD OBJECT IDENTIFIER ::= { id-etsi-qcs 4 }
which corresponds to the OID string "0.4.0.1862.1.4".
The ETSI Profiles for Trust Service Providers issuing certificates, Part 5, Extension for Qualified Certificates profile (ETSI EN 319 412-5, formerly ETSI TS 101 862) specifies the QcEuSSCD statement info for indicating that the private key that belongs to the public key of the certificate resides on a Secure Signature Creation Device (SSCD).
After creating a QcEuSSCD object create a QCStatement
object for the QcEuSSCD and add the QCStatement to
a QCStatements
certificate extension, e.g.:
// create the QcEuSSCD: QcEuSSCD qcEuSSCD = new QcEuSSCD(); // create a QCStatement for the QcEuSSCD: QCStatement[] qcStatements = ...; qcStatements[0] = new QCStatement(qcEuSSCD); // 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
Modifier and Type | Field and Description |
---|---|
static ObjectID |
statementID
The statement id of the QcEuSSCD statement info.
|
Constructor and Description |
---|
QcEuSSCD()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(ASN1Object obj)
Decodes a QcEuSSCD from its ASN.1 representation.
|
ObjectID |
getStatementID()
Returns the statement ID identifying this
QcEuSSCD
statement info. |
ASN1Object |
toASN1Object()
Returns an ASN1Object representing this
QcEuSSCD
object. |
java.lang.String |
toString()
Returns a string that represents the contents of
this
QcEuSSCD statement info. |
getName
public static final ObjectID statementID
public QcEuSSCD()
QcEuSSCD
object.public ObjectID getStatementID()
QcEuSSCD
statement info.
The corresponding OID string is "0.4.0.1862.1.4".getStatementID
in class QCStatementInfo
QcEuSSCD
statement infopublic void decode(ASN1Object obj) throws CodingException
The given ASN1Object represents a QcEuSSCD statement info not including the statementID.
decode
in class QCStatementInfo
obj
- the QcEuSSCD as ASN1ObjectCodingException
- if the object cannot be parsedpublic ASN1Object toASN1Object()
QcEuSSCD
object.
This method returns null since QcEuSSCD has no statement info.
toASN1Object
in class QCStatementInfo
public java.lang.String toString()
QcEuSSCD
statement info.toString
in class QCStatementInfo