procedure Init(SubjectIdentifierType: TScCMSSubjectIdentifierType; Certificate: TScCertificate); overload;

procedure Init(Certificate: TScCertificate); overload;



Initializes the TScCMSSubjectIdentifier instance from the X.509 certificate.

The SubjectIdentifierType parameter represents the type of a subject identifier. The SubjectIdentifierType property is set from the value of this parameter. If this parameter is not specified, the SubjectIdentifierType property will be set to the sitIssuerAndSerialNumber value.

The Certificate parameter is an object that represents the subject identifier. The Issuer, SerialNumber, SubjectKeyIdentifier, and KeyIdentifierDate properties are imported from this X.509 certificate. The SubjectIdentifierType parameter determines which of these properties will be set. If SubjectIdentifierType is not specified, it is considered equal to the sitIssuerAndSerialNumber value.


SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support