TrustCore SDK NanoCert API reference  version 7.0
MOC_CMS_OriginatorPublicKey Struct Reference

The 'originatorKey' of a certificate, as defined in RFC-5652 for the 'KeyAgreeRecipientInfo' sequence. More...

Data Fields

ubyte4 algoOIDLen
 
ubyte4 algoParametersLen
 
ubyte * pAlgoOID
 
ubyte * pAlgoParameters
 
ubyte * pPublicKey
 
ubyte4 publicKeyLen
 

Detailed Description

This structure represents the content of the 'OriginatorPublicKey' typed variable 'originatorKey', which is

 OriginatorPublicKey ::= SEQUENCE {
     algorithm AlgorithmIdentifier,
     publicKey BIT STRING }

The 'algorithm' value is represented in two ASN1 items: The OID and the (optional) parameters needed for the algorithm identified by the OID.

The 'publicKey' value is represented by a single ASn1 item, that contains the bit string with the public key data.

This data is used in a callback to access the matching private key data, as managed by the user code.


The documentation for this struct was generated from the following file: