|
|||||||||
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 | +--demo.x509.qualified.MyPrivateQCStatement
Implements a private QCStatement.
This class demonstrates how private QCStatements may be implemented by extending
the QCStatementInfo
class. For using this private statement it has to be registered
within the QCStatement framework:
QCStatement.register(MyPrivateQCStatement.statementID, MyPrivateQCStatement.class);See the
QualifiedCert
demo on
how to use.
The ASN.1 structure of the statement info belonging to this private QCStatement is rather simple and only consists of a PrintableString holding a statement message:
statementMessage ::= PrintableString
Field Summary | |
static ObjectID |
statementID
The statement id for this private QC statement. |
Constructor Summary | |
MyPrivateQCStatement()
Default constructor. |
|
MyPrivateQCStatement(String statement)
Creates a private QC statement for the given statement string. |
Method Summary | |
void |
decode(ASN1Object obj)
Decodes the statement info. |
String |
getStatement()
Gets the statement message. |
ObjectID |
getStatementID()
Returns the statement ID. |
ASN1Object |
toASN1Object()
Returns an ASN.1 representation of this statement info. |
String |
toString()
Returns a string representation of the 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 MyPrivateQCStatement()
public MyPrivateQCStatement(String statement)
statement
- the statement messageMethod Detail |
public ObjectID getStatementID()
getStatementID
in class QCStatementInfo
public String getStatement()
public void decode(ASN1Object obj)
decode
in class QCStatementInfo
the
- statement info as ASN1Objectpublic ASN1Object toASN1Object()
toASN1Object
in class QCStatementInfo
public String toString()
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 |