Feature notes: PKIX / CMS implementation notes
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
inherits from iASN1CustomStruct
function get_algorithm: ObjectIdentifier;
function get_parameters: iPKCS1V15DigestAlgorithms;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1V15DigestAlgorithms read get_parameters;
inherits from tASN1CustomStruct
implements iDigestAlgorithm
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1V15DigestAlgorithms read get_parameters;
inherits from iASN1CustomStruct
function get_digest: iASN1OctetString;
function get_digestAlgorithm: iDigestAlgorithm;
property digestAlgorithm: iDigestAlgorithm read get_digestAlgorithm;
property digest: iASN1OctetString read get_digest;
inherits from tASN1CustomStruct
implements iDigestInfo
property digestAlgorithm: iDigestAlgorithm read get_digestAlgorithm;
property digest: iASN1OctetString read get_digest;
inherits from iASN1CustomStruct
function get_algorithm: ObjectIdentifier;
function get_parameters: iOAEPPSSDigestAlgorithms;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iOAEPPSSDigestAlgorithms read get_parameters;
inherits from tASN1CustomStruct
implements iHashAlgorithm
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iOAEPPSSDigestAlgorithms read get_parameters;
inherits from iASN1CustomStruct
function get_algorithm: ObjectIdentifier;
function get_parameters: iPKCS1MGFAlgorithms;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1MGFAlgorithms read get_parameters;
inherits from tASN1CustomStruct
implements iMaskGenAlgorithm
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1MGFAlgorithms read get_parameters;
inherits from iASN1CustomStruct
function get_coefficient: iASN1Integer;
function get_exponent: iASN1Integer;
function get_prime: iASN1Integer;
property prime: iASN1Integer read get_prime;
property exponent: iASN1Integer read get_exponent;
property coefficient: iASN1Integer read get_coefficient;
inherits from tASN1CustomStruct
implements iOtherPrimeInfo
property prime: iASN1Integer read get_prime;
property exponent: iASN1Integer read get_exponent;
property coefficient: iASN1Integer read get_coefficient;
inherits from iASN1CustomStruct
function get_Items(aIndex: Integer): iOtherPrimeInfo;
property Items[aIndex: Integer]: iOtherPrimeInfo read get_Items; default;
inherits from tASN1CustomOFStruct
implements iOtherPrimeInfos
property Items[aIndex: Integer]: iOtherPrimeInfo read get_Items; default;
inherits from iASN1CustomStruct
The RSAES-OAEP pSourceAlgorithm AlgorithmIdentifier (PKCS#1 v2.x, RFC 8017) that names how the OAEP encoding-parameters (label) P are supplied. Its only defined algorithm is id-pSpecified, whose parameters carry the label octet string directly. An application touches this only when hand-building or inspecting the pSourceAlgorithm field of iRSAESOAEPParams to set a non-empty OAEP label; the same encoded label must be used by the encrypting and decrypting sides or OAEP decoding fails.
function get_algorithm: ObjectIdentifier;
function get_parameters: iPKCS1PSourceAlgorithms;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1PSourceAlgorithms read get_parameters;
inherits from tASN1CustomStruct
implements iPSourceAlgorithm
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1PSourceAlgorithms read get_parameters;
inherits from iASN1CustomStruct
function get_algorithm: ObjectIdentifier;
function get_parameters: iPKCS1Algorithms;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1Algorithms read get_parameters;
inherits from tASN1CustomStruct
implements iRSAESAlgorithmIdentifier
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1Algorithms read get_parameters;
inherits from iASN1CustomStruct
The RSAES-OAEP-params SEQUENCE (PKCS#1 v2.x, RFC 8017) carried as the parameters of an rsaesOaep AlgorithmIdentifier: the OAEP hash, its mask generation function (MGF1) and the label source. An application reaches this when it needs OAEP with a non-default digest (the SHA-1 defaults are omitted on the wire) or a custom label, e.g. building a key-transport recipient or reading such parameters off a certificate/key; both peers must agree on all three fields for decryption to succeed.
function get_hashAlgorithm: iHashAlgorithm;
function get_maskGenAlgorithm: iMaskGenAlgorithm;
function get_pSourceAlgorithm: iPSourceAlgorithm;
property hashAlgorithm: iHashAlgorithm read get_hashAlgorithm;
property maskGenAlgorithm: iMaskGenAlgorithm read get_maskGenAlgorithm;
property pSourceAlgorithm: iPSourceAlgorithm read get_pSourceAlgorithm;
inherits from tASN1CustomStruct
implements iRSAESOAEPParams
property hashAlgorithm: iHashAlgorithm read get_hashAlgorithm;
property maskGenAlgorithm: iMaskGenAlgorithm read get_maskGenAlgorithm;
property pSourceAlgorithm: iPSourceAlgorithm read get_pSourceAlgorithm;
inherits from tASN1NamedInteger
(no public members)
inherits from iASN1CustomStruct
function get_coefficient: iASN1Integer;
function get_exponent1: iASN1Integer;
function get_exponent2: iASN1Integer;
function get_modulus: iASN1Integer;
function get_otherPrimeInfos: iOtherPrimeInfos;
function get_prime1: iASN1Integer;
function get_prime2: iASN1Integer;
function get_privateExponent: iASN1Integer;
function get_publicExponent: iASN1Integer;
function get_version: tVersion;
function get_versionAsInteger: Integer;
procedure set_version(const aValue: tVersion);
procedure set_versionAsInteger(const aValue: Integer);
property version: tVersion read get_version write set_version;
property versionAsInteger: Integer read get_versionAsInteger write set_versionAsInteger;
property modulus: iASN1Integer read get_modulus;
property publicExponent: iASN1Integer read get_publicExponent;
property privateExponent: iASN1Integer read get_privateExponent;
property prime1: iASN1Integer read get_prime1;
property prime2: iASN1Integer read get_prime2;
property exponent1: iASN1Integer read get_exponent1;
property exponent2: iASN1Integer read get_exponent2;
property coefficient: iASN1Integer read get_coefficient;
property otherPrimeInfos: iOtherPrimeInfos read get_otherPrimeInfos;
property version: tVersion read get_version write set_version;
property versionAsInteger: Integer read get_versionAsInteger write set_versionAsInteger;
property modulus: iASN1Integer read get_modulus;
property publicExponent: iASN1Integer read get_publicExponent;
property privateExponent: iASN1Integer read get_privateExponent;
property prime1: iASN1Integer read get_prime1;
property prime2: iASN1Integer read get_prime2;
property exponent1: iASN1Integer read get_exponent1;
property exponent2: iASN1Integer read get_exponent2;
property coefficient: iASN1Integer read get_coefficient;
property otherPrimeInfos: iOtherPrimeInfos read get_otherPrimeInfos;
inherits from iASN1CustomStruct
function get_modulus: iASN1Integer;
function get_publicExponent: iASN1Integer;
property modulus: iASN1Integer read get_modulus;
property publicExponent: iASN1Integer read get_publicExponent;
inherits from tASN1CustomStruct
implements iRSAPublicKey, iIFPublicKey
property modulus: iASN1Integer read get_modulus;
property publicExponent: iASN1Integer read get_publicExponent;
inherits from iASN1CustomStruct
function get_algorithm: ObjectIdentifier;
function get_parameters: iPKCS1Algorithms;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1Algorithms read get_parameters;
inherits from tASN1CustomStruct
implements iRSASSAAlgorithmIdentifier
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKCS1Algorithms read get_parameters;
inherits from tASN1NamedInteger
(no public members)
inherits from iASN1CustomStruct
The RSASSA-PSS-params SEQUENCE (PKCS#1 v2.x, RFC 8017; also RFC 4055) carried as the parameters of an id-RSASSA-PSS (or id-RW) AlgorithmIdentifier: the PSS hash, its mask generation function (MGF1) and inner hash, the salt length and the trailer field. An application reaches this mainly indirectly through the higher-level PKIX layers: StreamSec.DSI.PkixCert populates these fields when signing a certificate with RSA-PSS (from the signer's SignatureDigestAlg / MGFHashAlg / saltLength) and reads them back when validating a PSS signature (mapping the hash and MGF-hash OIDs to internal hash algorithms and driving SignEncoding := seEMSA4). A verifier and a signer must agree on all four fields or the signature check fails; touch this record directly only when hand-building or inspecting such parameters.
function get_hashAlgorithm: iHashAlgorithm;
function get_maskGenAlgorithm: iMaskGenAlgorithm;
function get_saltLength: iASN1Integer;
function get_trailerField: tTrailerField;
function get_trailerFieldAsInteger: Integer;
procedure set_trailerField(const aValue: tTrailerField);
procedure set_trailerFieldAsInteger(const aValue: Integer);
property hashAlgorithm: iHashAlgorithm read get_hashAlgorithm;
property maskGenAlgorithm: iMaskGenAlgorithm read get_maskGenAlgorithm;
property saltLength: iASN1Integer read get_saltLength;
property trailerField: tTrailerField read get_trailerField write set_trailerField;
property trailerFieldAsInteger: Integer read get_trailerFieldAsInteger write set_trailerFieldAsInteger;
inherits from tASN1CustomStruct
implements iRSASSAPSSParams
property hashAlgorithm: iHashAlgorithm read get_hashAlgorithm;
property maskGenAlgorithm: iMaskGenAlgorithm read get_maskGenAlgorithm;
property saltLength: iASN1Integer read get_saltLength;
property trailerField: tTrailerField read get_trailerField write set_trailerField;
property trailerFieldAsInteger: Integer read get_trailerFieldAsInteger write set_trailerFieldAsInteger;
inherits from iASN1CustomInstance
function get_AsMd2WithRsaencryption: iASN1Base;
function get_AsMd5WithRsaencryption: iASN1Base;
function get_AsPspecified: iASN1Base;
function get_AsRsaEncryption: iASN1Base;
function get_AsRsaesOaep: iRSAESOAEPParams;
function get_AsRsassaPss: iRSASSAPSSParams;
function get_AsSha1WithRsaencryption: iASN1Base;
function get_AsSha256WithRsaencryption: iASN1Base;
function get_AsSha384WithRsaencryption: iASN1Base;
function get_AsSha512WithRsaencryption: iASN1Base;
function get_Choice: tPKCS1AlgorithmsEnum;
procedure set_Choice(const aValue: tPKCS1AlgorithmsEnum);
property Choice: tPKCS1AlgorithmsEnum read get_Choice write set_Choice;
property AsRsaEncryption: iASN1Base read get_AsRsaEncryption;
property AsMd2WithRsaencryption: iASN1Base read get_AsMd2WithRsaencryption;
property AsMd5WithRsaencryption: iASN1Base read get_AsMd5WithRsaencryption;
property AsSha1WithRsaencryption: iASN1Base read get_AsSha1WithRsaencryption;
property AsSha256WithRsaencryption: iASN1Base read get_AsSha256WithRsaencryption;
property AsSha384WithRsaencryption: iASN1Base read get_AsSha384WithRsaencryption;
property AsSha512WithRsaencryption: iASN1Base read get_AsSha512WithRsaencryption;
property AsRsaesOaep: iRSAESOAEPParams read get_AsRsaesOaep;
property AsPspecified: iASN1Base read get_AsPspecified;
property AsRsassaPss: iRSASSAPSSParams read get_AsRsassaPss;
property Choice: tPKCS1AlgorithmsEnum read get_Choice write set_Choice;
property AsRsaEncryption: iASN1Base read get_AsRsaEncryption;
property AsMd2WithRsaencryption: iASN1Base read get_AsMd2WithRsaencryption;
property AsMd5WithRsaencryption: iASN1Base read get_AsMd5WithRsaencryption;
property AsSha1WithRsaencryption: iASN1Base read get_AsSha1WithRsaencryption;
property AsSha256WithRsaencryption: iASN1Base read get_AsSha256WithRsaencryption;
property AsSha384WithRsaencryption: iASN1Base read get_AsSha384WithRsaencryption;
property AsSha512WithRsaencryption: iASN1Base read get_AsSha512WithRsaencryption;
property AsRsaesOaep: iRSAESOAEPParams read get_AsRsaesOaep implements iRSAESOAEPParams;
property AsPspecified: iASN1Base read get_AsPspecified;
property AsRsassaPss: iRSASSAPSSParams read get_AsRsassaPss implements iRSASSAPSSParams;
inherits from tASN1TypeIdentifier
(no public members)
inherits from iASN1CustomInstance
ASN.1 CHOICE holding the parameters of a mask-generation-function AlgorithmIdentifier used inside RSAES-OAEP and RSASSA-PSS parameter structures (PKCS#1 v2.x, RFC 8017). MGF1 is the only defined alternative, and its own parameter is the inner hash. Applications building or reading RSA-OAEP/PSS AlgorithmIdentifiers touch this only when they need to override the default MGF hash; most code lets the defaults stand.
function get_AsMgf1: iHashAlgorithm;
function get_Choice: tPKCS1MGFAlgorithmsEnum;
procedure set_Choice(const aValue: tPKCS1MGFAlgorithmsEnum);
property Choice: tPKCS1MGFAlgorithmsEnum read get_Choice write set_Choice;
property AsMgf1: iHashAlgorithm read get_AsMgf1;
property Choice: tPKCS1MGFAlgorithmsEnum read get_Choice write set_Choice;
property AsMgf1: iHashAlgorithm read get_AsMgf1 implements iHashAlgorithm;
inherits from tASN1TypeIdentifier
(no public members)
inherits from iASN1CustomInstance
ASN.1 CHOICE holding the parameters of the RSAES-OAEP pSourceAlgorithm (PKCS#1 v2.x, RFC 8017). Its single arm, id-pSpecified, is the OAEP label L as an octet string. This is the plumbing behind iPSourceAlgorithm.parameters; an application uses it only to read or force the exact OAEP label, and the same label bytes must be configured on both the encrypting and decrypting peers.
function get_AsPspecified: iASN1OctetString;
function get_Choice: tPKCS1PSourceAlgorithmsEnum;
procedure set_Choice(const aValue: tPKCS1PSourceAlgorithmsEnum);
property Choice: tPKCS1PSourceAlgorithmsEnum read get_Choice write set_Choice;
property AsPspecified: iASN1OctetString read get_AsPspecified;
inherits from tASN1CustomInstance
implements iPKCS1PSourceAlgorithms
property Choice: tPKCS1PSourceAlgorithmsEnum read get_Choice write set_Choice;
property AsPspecified: iASN1OctetString read get_AsPspecified;
inherits from iASN1CustomInstance
function get_AsMd2: iASN1Base;
function get_AsMd5: iASN1Base;
function get_AsSha1: iASN1Base;
function get_AsSha224: iASN1Base;
function get_AsSha256: iASN1Base;
function get_AsSha384: iASN1Base;
function get_AsSha512: iASN1Base;
function get_Choice: tPKCS1V15DigestAlgorithmsEnum;
procedure set_Choice(const aValue: tPKCS1V15DigestAlgorithmsEnum);
property Choice: tPKCS1V15DigestAlgorithmsEnum read get_Choice write set_Choice;
property AsMd2: iASN1Base read get_AsMd2;
property AsMd5: iASN1Base read get_AsMd5;
property AsSha1: iASN1Base read get_AsSha1;
property AsSha256: iASN1Base read get_AsSha256;
property AsSha384: iASN1Base read get_AsSha384;
property AsSha512: iASN1Base read get_AsSha512;
property AsSha224: iASN1Base read get_AsSha224;
inherits from tASN1CustomInstance
implements iPKCS1V15DigestAlgorithms
property Choice: tPKCS1V15DigestAlgorithmsEnum read get_Choice write set_Choice;
property AsMd2: iASN1Base read get_AsMd2;
property AsMd5: iASN1Base read get_AsMd5;
property AsSha1: iASN1Base read get_AsSha1;
property AsSha256: iASN1Base read get_AsSha256;
property AsSha384: iASN1Base read get_AsSha384;
property AsSha512: iASN1Base read get_AsSha512;
property AsSha224: iASN1Base read get_AsSha224;
inherits from tASN1TypeIdentifier
(no public members)
inherits from iASN1CustomInstance
ASN.1 CHOICE naming the hash digest carried inside an RSAES-OAEP or RSASSA-PSS hashAlgorithm/maskGenAlgorithm AlgorithmIdentifier (PKCS#1 v2.x, RFC 8017). Each alternative corresponds to one SHA variant OID. This is ASN.1 plumbing behind the iRSAESOAEPParams / iRSASSAPSSParams surfaces; an application uses it only when it needs to inspect or force the exact OAEP/PSS digest, and normally lets the higher-level parameter objects pick it.
function get_AsSha1: iASN1Base;
function get_AsSha224: iASN1Base;
function get_AsSha256: iASN1Base;
function get_AsSha384: iASN1Base;
function get_AsSha512: iASN1Base;
function get_Choice: tOAEPPSSDigestAlgorithmsEnum;
procedure set_Choice(const aValue: tOAEPPSSDigestAlgorithmsEnum);
property Choice: tOAEPPSSDigestAlgorithmsEnum read get_Choice write set_Choice;
property AsSha1: iASN1Base read get_AsSha1;
property AsSha256: iASN1Base read get_AsSha256;
property AsSha384: iASN1Base read get_AsSha384;
property AsSha512: iASN1Base read get_AsSha512;
property AsSha224: iASN1Base read get_AsSha224;
inherits from tASN1CustomInstance
implements iOAEPPSSDigestAlgorithms
property Choice: tOAEPPSSDigestAlgorithmsEnum read get_Choice write set_Choice;
property AsSha1: iASN1Base read get_AsSha1;
property AsSha256: iASN1Base read get_AsSha256;
property AsSha384: iASN1Base read get_AsSha384;
property AsSha512: iASN1Base read get_AsSha512;
property AsSha224: iASN1Base read get_AsSha224;
inherits from tASN1TypeIdentifier
(no public members)