CertificateRevocationListBuilder.Build 메서드

정의

오버로드

Build(X509Certificate2, BigInteger, DateTimeOffset, HashAlgorithmName, RSASignaturePadding, Nullable<DateTimeOffset>)

지정된 인증서로 서명된 CRL(인증서 해지 목록)을 빌드합니다.

Build(X500DistinguishedName, X509SignatureGenerator, BigInteger, DateTimeOffset, HashAlgorithmName, X509AuthorityKeyIdentifierExtension, Nullable<DateTimeOffset>)

CRL(인증서 해지 목록)을 빌드합니다.

Build(X509Certificate2, BigInteger, DateTimeOffset, HashAlgorithmName, RSASignaturePadding, Nullable<DateTimeOffset>)

Source:
CertificateRevocationListBuilder.Build.cs
Source:
CertificateRevocationListBuilder.Build.cs
Source:
CertificateRevocationListBuilder.Build.cs

지정된 인증서로 서명된 CRL(인증서 해지 목록)을 빌드합니다.

public byte[] Build (System.Security.Cryptography.X509Certificates.X509Certificate2 issuerCertificate, System.Numerics.BigInteger crlNumber, DateTimeOffset nextUpdate, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding? rsaSignaturePadding = default, DateTimeOffset? thisUpdate = default);
member this.Build : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Numerics.BigInteger * DateTimeOffset * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.RSASignaturePadding * Nullable<DateTimeOffset> -> byte[]
Public Function Build (issuerCertificate As X509Certificate2, crlNumber As BigInteger, nextUpdate As DateTimeOffset, hashAlgorithm As HashAlgorithmName, Optional rsaSignaturePadding As RSASignaturePadding = Nothing, Optional thisUpdate As Nullable(Of DateTimeOffset) = Nothing) As Byte()

매개 변수

issuerCertificate
X509Certificate2

이 인증서 해지 목록을 만드는 CA(인증 기관)를 나타내는 인증서입니다.

crlNumber
BigInteger

이 CRL의 시퀀스 번호입니다. IETF RFC 5280에 따라 이 값은 항상 지정된 CA에 대해 한 CRL에서 다음 CRL로 증가해야 합니다.

nextUpdate
DateTimeOffset

CA가 최신 CRL을 게시하기 전에 가능한 최신 시간이며 일반적으로 이 CRL의 만료 날짜로 처리됩니다.

hashAlgorithm
HashAlgorithmName

CRL에 서명할 때 사용할 해시 알고리즘입니다.

rsaSignaturePadding
RSASignaturePadding

RSA 키를 사용하는 인증 기관의 경우 이 매개 변수가 필요하며 CRL에 서명할 때 사용할 RSA 서명 패딩 모드를 지정합니다. 다른 모든 알고리즘의 경우 이 매개 변수는 무시됩니다. 기본값은 null입니다.

thisUpdate
Nullable<DateTimeOffset>

이 CRL을 만들 때 또는 null 현재 시스템 시간을 사용하도록 지정하는 선택적 값입니다. 기본값은 null입니다.

반환

Byte[]

서명된 CRL의 바이트를 포함하는 배열입니다.

예외

issuerCertificatenull입니다.

또는

hashAlgorithmnull 의 값으로 입니다 Name.

issuerCertificate 에 연결된 프라이빗 키가 없습니다.

또는

issuerCertificate 는 알 수 없거나 이 구현에서 지원되지 않는 공개 키 알고리즘을 사용합니다.

또는

issuerCertificate 기본 제약 조건 확장이 없습니다.

또는

issuerCertificate 에는 유효한 인증 기관 인증서가 아님을 나타내는 기본 제약 조건 확장이 있습니다.

또는

issuerCertificate 에는 사용량이 부족한 키 사용 확장이 있습니다 CrlSign .

또는

issuerCertificate 에는 RSA 프라이빗 키가 있지만 rsaSignaturePadding 는 입니다 null.

또는

issuerCertificate 에는 알 수 없는 키 알고리즘이 있습니다.

또는

nextUpdate 가 보다 thisUpdate오래되었습니다.

또는

hashAlgorithm 에는 빈 문자열이 의 값으로 있습니다 Name.

또는

rsaSignaturePadding 가 인식되지 않았습니다.

crlNumber가 음수입니다.

서명하는 동안 오류가 발생했습니다.

적용 대상

Build(X500DistinguishedName, X509SignatureGenerator, BigInteger, DateTimeOffset, HashAlgorithmName, X509AuthorityKeyIdentifierExtension, Nullable<DateTimeOffset>)

Source:
CertificateRevocationListBuilder.Build.cs
Source:
CertificateRevocationListBuilder.Build.cs
Source:
CertificateRevocationListBuilder.Build.cs

CRL(인증서 해지 목록)을 빌드합니다.

public byte[] Build (System.Security.Cryptography.X509Certificates.X500DistinguishedName issuerName, System.Security.Cryptography.X509Certificates.X509SignatureGenerator generator, System.Numerics.BigInteger crlNumber, DateTimeOffset nextUpdate, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension authorityKeyIdentifier, DateTimeOffset? thisUpdate = default);
member this.Build : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.X509Certificates.X509SignatureGenerator * System.Numerics.BigInteger * DateTimeOffset * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension * Nullable<DateTimeOffset> -> byte[]
Public Function Build (issuerName As X500DistinguishedName, generator As X509SignatureGenerator, crlNumber As BigInteger, nextUpdate As DateTimeOffset, hashAlgorithm As HashAlgorithmName, authorityKeyIdentifier As X509AuthorityKeyIdentifierExtension, Optional thisUpdate As Nullable(Of DateTimeOffset) = Nothing) As Byte()

매개 변수

issuerName
X500DistinguishedName

이 CRL을 발급하는 CA(인증 기관)에 대한 인증서의 주체 이름입니다.

generator
X509SignatureGenerator

이 CRL에 대한 CA 서명을 생성하는 서명 생성기입니다.

crlNumber
BigInteger

이 CRL의 시퀀스 번호입니다. IETF RFC 5280에 따라 이 값은 항상 지정된 CA에 대해 한 CRL에서 다음 CRL로 증가해야 합니다.

nextUpdate
DateTimeOffset

CA가 최신 CRL을 게시하기 전에 가능한 최신 시간이며 일반적으로 이 CRL의 만료 날짜로 처리됩니다.

hashAlgorithm
HashAlgorithmName

CRL에 서명할 때 사용할 해시 알고리즘입니다.

authorityKeyIdentifier
X509AuthorityKeyIdentifierExtension

이 CRL에서 사용할 기관 키 식별자이며 CA 인증서를 식별합니다.

thisUpdate
Nullable<DateTimeOffset>

이 CRL을 만들 때 또는 null 현재 시스템 시간을 사용하도록 지정하는 선택적 값입니다. 기본값은 null입니다.

반환

Byte[]

서명된 CRL의 바이트를 포함하는 배열입니다.

예외

issuerName, generator 또는 authorityKeyIdentifiernull입니다.

또는

hashAlgorithmnull 의 값으로 입니다 Name.

nextUpdate 가 보다 thisUpdate오래되었습니다.

또는

hashAlgorithm 에는 빈 문자열이 의 값으로 있습니다 Name.

crlNumber가 음수입니다.

서명하는 동안 오류가 발생했습니다.

적용 대상