TX509KeyEncoder Class Reference
Abstract class that is the base class for RSA and DSA key encoder classes. These classes are used to encode the X509 ASN.1 types AlgorithmIdentifier and SubjectPublicKeyInfo.
This class is part of the pkcs10 API, and will be changed or removed in a future release. You should not use it.
Constructor & Destructor Documentation
TX509KeyEncoder(TAlgorithmId)
Constructor that takes an algorithm identifier and saves it into the corresponding member variable. It is then used in the EncodeSignatureAlgorithm() function.
Parameters
TAlgorithmId aDigestAlg | Digest algorithm to use. Currently the following algorithms are supported: MD2, MD5, and SHA-1. |
Member Functions Documentation
EncodeDigestAlgorithmLC()
Produces the DigestAlgorithmIdentifier encoder.
The encoding has the following ASN.1 format
DigestAlgorithmIdentifier ::= SEQUENCE {
algorithm AlgorithmIdentifier,
parameters ANY DEFINED BY algorithm OPTIONAL }
AlgorithmIdentifier ::= OBJECT IDENTIFIER
EncodeKeyLC()
Produces the SubjectPublicKeyInfo encoding.
The encoding has the following ASN.1 format:
SubjectPublicKeyInfo {ALGORITHM : IOSet} ::= SEQUENCE {
algorithm AlgorithmIdentifier {{IOSet}},
subjectPublicKey BIT STRING
}
EncodeSignatureAlgorithmLC()
Produces the AlgorithmIdentifier encoding.
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.