Exemple #1
0
 internal void BuildCertificateChainOnce()
 {
     if (Chain == null)
     {
         Chain = SigningUtility.GetCertificateChain(Certificate, AdditionalCertificates);
     }
 }
Exemple #2
0
 /// <summary>
 /// Verify a signing-certificate-v2 attribute.
 /// </summary>
 public static bool IsValidSigningCertificateV2(
     X509Certificate2 signatureCertificate,
     X509Chain chain,
     CryptographicAttributeObject signingCertV2Attribute,
     SigningSpecifications signingSpecifications)
 {
     return(IsValidSigningCertificateV2(
                signatureCertificate: signatureCertificate,
                chain: SigningUtility.GetCertificateChain(chain),
                signingCertV2Attribute: signingCertV2Attribute,
                signingSpecifications: signingSpecifications));
 }