class TX509KeyEncoder |
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.
Public Member Functions | |
---|---|
TX509KeyEncoder ( TAlgorithmId ) | |
IMPORT_C CASN1EncSequence * | EncodeDigestAlgorithmLC () |
IMPORT_C CASN1EncBase * | EncodeKeyLC () |
IMPORT_C CASN1EncSequence * | EncodeSignatureAlgorithmLC () |
Protected Attributes | |
---|---|
TAlgorithmId | iDigestAlg |
TX509KeyEncoder | ( | TAlgorithmId | aDigestAlg | ) |
Constructor that takes an algorithm identifier and saves it into the corresponding member variable. It is then used in the EncodeSignatureAlgorithm() function.
TAlgorithmId aDigestAlg | Digest algorithm to use. Currently the following algorithms are supported: MD2, MD5, and SHA-1. |
IMPORT_C CASN1EncSequence * | EncodeDigestAlgorithmLC | ( | ) | const [virtual] |
Produces the DigestAlgorithmIdentifier encoder.
DigestAlgorithmIdentifier ::= SEQUENCE { algorithm AlgorithmIdentifier, parameters ANY DEFINED BY algorithm OPTIONAL } AlgorithmIdentifier ::= OBJECT IDENTIFIER
IMPORT_C CASN1EncBase * | EncodeKeyLC | ( | ) | const [pure virtual] |
Produces the SubjectPublicKeyInfo encoding.
SubjectPublicKeyInfo {ALGORITHM : IOSet} ::= SEQUENCE { algorithm AlgorithmIdentifier {{IOSet}}, subjectPublicKey BIT STRING }
IMPORT_C CASN1EncSequence * | EncodeSignatureAlgorithmLC | ( | ) | const [pure virtual] |
Produces the AlgorithmIdentifier encoding.
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.