C# 클래스 Internal.Cryptography.Pal.OpenSslX509Encoder

상속: IX509Pal
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
DecodePublicKey ( Oid oid, byte encodedKeyValue, byte encodedParameters, ICertificatePal certificatePal ) : AsymmetricAlgorithm
DecodeX509BasicConstraints2Extension ( byte encoded, bool &certificateAuthority, bool &hasPathLengthConstraint, int &pathLengthConstraint ) : void
DecodeX509BasicConstraintsExtension ( byte encoded, bool &certificateAuthority, bool &hasPathLengthConstraint, int &pathLengthConstraint ) : void
DecodeX509EnhancedKeyUsageExtension ( byte encoded, OidCollection &usages ) : void
DecodeX509KeyUsageExtension ( byte encoded, X509KeyUsageFlags &keyUsages ) : void
DecodeX509SubjectKeyIdentifierExtension ( byte encoded, byte &subjectKeyIdentifier ) : void
EncodeX509BasicConstraints2Extension ( bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint ) : byte[]
EncodeX509EnhancedKeyUsageExtension ( OidCollection usages ) : byte[]
EncodeX509KeyUsageExtension ( X509KeyUsageFlags keyUsages ) : byte[]
EncodeX509SubjectKeyIdentifierExtension ( byte subjectKeyIdentifier ) : byte[]
GetCertContentType ( byte rawData ) : X509ContentType
GetCertContentType ( string fileName ) : X509ContentType
X500DistinguishedNameDecode ( byte encodedDistinguishedName, X500DistinguishedNameFlags flags ) : string
X500DistinguishedNameEncode ( string distinguishedName, X500DistinguishedNameFlags flag ) : byte[]
X500DistinguishedNameFormat ( byte encodedDistinguishedName, bool multiLine ) : string

비공개 메소드들

메소드 설명
BuildRsaPublicKey ( byte encodedData ) : RSA
ComputeCapiSha1OfPublicKey ( PublicKey key ) : byte[]
ConcatenateArrays ( byte segments ) : byte[]
DecodeX509SubjectKeyIdentifierExtension ( byte encoded ) : byte[]

메소드 상세

DecodePublicKey() 공개 메소드

public DecodePublicKey ( Oid oid, byte encodedKeyValue, byte encodedParameters, ICertificatePal certificatePal ) : AsymmetricAlgorithm
oid System.Security.Cryptography.Oid
encodedKeyValue byte
encodedParameters byte
certificatePal ICertificatePal
리턴 System.Security.Cryptography.AsymmetricAlgorithm

DecodeX509BasicConstraints2Extension() 공개 메소드

public DecodeX509BasicConstraints2Extension ( byte encoded, bool &certificateAuthority, bool &hasPathLengthConstraint, int &pathLengthConstraint ) : void
encoded byte
certificateAuthority bool
hasPathLengthConstraint bool
pathLengthConstraint int
리턴 void

DecodeX509BasicConstraintsExtension() 공개 메소드

public DecodeX509BasicConstraintsExtension ( byte encoded, bool &certificateAuthority, bool &hasPathLengthConstraint, int &pathLengthConstraint ) : void
encoded byte
certificateAuthority bool
hasPathLengthConstraint bool
pathLengthConstraint int
리턴 void

DecodeX509EnhancedKeyUsageExtension() 공개 메소드

public DecodeX509EnhancedKeyUsageExtension ( byte encoded, OidCollection &usages ) : void
encoded byte
usages System.Security.Cryptography.OidCollection
리턴 void

DecodeX509KeyUsageExtension() 공개 메소드

public DecodeX509KeyUsageExtension ( byte encoded, X509KeyUsageFlags &keyUsages ) : void
encoded byte
keyUsages X509KeyUsageFlags
리턴 void

DecodeX509SubjectKeyIdentifierExtension() 공개 메소드

public DecodeX509SubjectKeyIdentifierExtension ( byte encoded, byte &subjectKeyIdentifier ) : void
encoded byte
subjectKeyIdentifier byte
리턴 void

EncodeX509BasicConstraints2Extension() 공개 메소드

public EncodeX509BasicConstraints2Extension ( bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint ) : byte[]
certificateAuthority bool
hasPathLengthConstraint bool
pathLengthConstraint int
리턴 byte[]

EncodeX509EnhancedKeyUsageExtension() 공개 메소드

public EncodeX509EnhancedKeyUsageExtension ( OidCollection usages ) : byte[]
usages System.Security.Cryptography.OidCollection
리턴 byte[]

EncodeX509KeyUsageExtension() 공개 메소드

public EncodeX509KeyUsageExtension ( X509KeyUsageFlags keyUsages ) : byte[]
keyUsages X509KeyUsageFlags
리턴 byte[]

EncodeX509SubjectKeyIdentifierExtension() 공개 메소드

public EncodeX509SubjectKeyIdentifierExtension ( byte subjectKeyIdentifier ) : byte[]
subjectKeyIdentifier byte
리턴 byte[]

GetCertContentType() 공개 메소드

public GetCertContentType ( byte rawData ) : X509ContentType
rawData byte
리턴 X509ContentType

GetCertContentType() 공개 메소드

public GetCertContentType ( string fileName ) : X509ContentType
fileName string
리턴 X509ContentType

X500DistinguishedNameDecode() 공개 메소드

public X500DistinguishedNameDecode ( byte encodedDistinguishedName, X500DistinguishedNameFlags flags ) : string
encodedDistinguishedName byte
flags X500DistinguishedNameFlags
리턴 string

X500DistinguishedNameEncode() 공개 메소드

public X500DistinguishedNameEncode ( string distinguishedName, X500DistinguishedNameFlags flag ) : byte[]
distinguishedName string
flag X500DistinguishedNameFlags
리턴 byte[]

X500DistinguishedNameFormat() 공개 메소드

public X500DistinguishedNameFormat ( byte encodedDistinguishedName, bool multiLine ) : string
encodedDistinguishedName byte
multiLine bool
리턴 string