6 instantiations of PublicKey
System.Security.Cryptography (6)
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
111return new PublicKey(
System\Security\Cryptography\X509Certificates\MLDsaX509SignatureGenerator.cs (1)
59return new PublicKey(
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
175return new PublicKey(localOid, localParameters, localKeyValue, skipCopy: true); 397return new PublicKey(oid, parameters, keyValue, skipCopy: true);
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (1)
37return new PublicKey(
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
326publicKey = _lazyPublicKey = new PublicKey(
35 references to PublicKey
netstandard (1)
netstandard.cs (1)
1946[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.PublicKey))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
858[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.PublicKey))]
System.Security.Cryptography (32)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (1)
18PublicKey publicKey = certificate.PublicKey;
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (3)
51public PublicKey PublicKey { get; } 250public CertificateRequest(X500DistinguishedName subjectName, PublicKey publicKey, HashAlgorithmName hashAlgorithm) 282PublicKey publicKey,
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (3)
189PublicKey publicKey = PublicKey.DecodeSubjectPublicKeyInfo(ref requestInfo.SubjectPublicKeyInfo); 296PublicKey publicKey,
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
69protected override PublicKey BuildPublicKey()
System\Security\Cryptography\X509Certificates\MLDsaX509SignatureGenerator.cs (1)
52protected override PublicKey BuildPublicKey()
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (2)
17internal PublicKey PublicKey { get; set; } 22PublicKey publicKey,
System\Security\Cryptography\X509Certificates\PublicKey.cs (5)
41/// Initializes a new instance of the <see cref="PublicKey" /> class 61/// Initializes a new instance of the <see cref="PublicKey" /> class 153/// Creates a new instance of <see cref="PublicKey" /> from a X.509 SubjectPublicKeyInfo. 166public static PublicKey CreateFromSubjectPublicKeyInfo(ReadOnlySpan<byte> source, out int bytesRead) 389internal static PublicKey DecodeSubjectPublicKeyInfo(ref SubjectPublicKeyInfoAsn spki)
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (2)
25protected override PublicKey BuildPublicKey() 30internal static PublicKey BuildPublicKey(RSA rsa)
System\Security\Cryptography\X509Certificates\RSAPssX509SignatureGenerator.cs (1)
109protected override PublicKey BuildPublicKey()
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
24private volatile PublicKey? _lazyPublicKey; 311public PublicKey PublicKey 317PublicKey? publicKey = _lazyPublicKey; 567PublicKey pubKey = PublicKey;
System\Security\Cryptography\X509Certificates\X509SignatureGenerator.cs (3)
10private PublicKey? _publicKey; 12public PublicKey PublicKey => _publicKey ??= BuildPublicKey(); 16protected abstract PublicKey BuildPublicKey();
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (6)
37public X509SubjectKeyIdentifierExtension(PublicKey key, bool critical) 42public X509SubjectKeyIdentifierExtension(PublicKey key, X509SubjectKeyIdentifierHashAlgorithm algorithm, bool critical) 154private static byte[] EncodeExtension(PublicKey key, X509SubjectKeyIdentifierHashAlgorithm algorithm) 163private static byte[] GenerateSubjectKeyIdentifierFromPublicKey(PublicKey key, X509SubjectKeyIdentifierHashAlgorithm algorithm) 206private static byte[] HashSubjectPublicKeyLeft160Bits(PublicKey key, HashAlgorithmName hashAlgorithmName) 215private static byte[] HashSubjectPublicKeyInfo(PublicKey key, HashAlgorithmName hashAlgorithmName)
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.PublicKey))]