5 instantiations of PublicKey
System.Security.Cryptography (5)
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
111return new PublicKey(
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
153return new PublicKey(localOid, localParameters, localKeyValue, skipCopy: true); 329return new PublicKey(oid, parameters, keyValue, skipCopy: true);
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (1)
37return new PublicKey(
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
325publicKey = _lazyPublicKey = new PublicKey(oid, new AsnEncodedData(oid, parameters), new AsnEncodedData(oid, keyValue), skipCopy: true);
33 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 (30)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (1)
18PublicKey publicKey = certificate.PublicKey;
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (3)
50public PublicKey PublicKey { get; } 193public CertificateRequest(X500DistinguishedName subjectName, PublicKey publicKey, HashAlgorithmName hashAlgorithm) 222PublicKey publicKey,
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (3)
185PublicKey publicKey = PublicKey.DecodeSubjectPublicKeyInfo(ref requestInfo.SubjectPublicKeyInfo); 292PublicKey publicKey,
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
69protected override PublicKey BuildPublicKey()
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (2)
17internal PublicKey PublicKey { get; set; } 22PublicKey publicKey,
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
39/// Initializes a new instance of the <see cref="PublicKey" /> class 131/// Creates a new instance of <see cref="PublicKey" /> from a X.509 SubjectPublicKeyInfo. 144public static PublicKey CreateFromSubjectPublicKeyInfo(ReadOnlySpan<byte> source, out int bytesRead) 321internal 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)
23private volatile PublicKey? _lazyPublicKey; 310public PublicKey PublicKey 316PublicKey? publicKey = _lazyPublicKey; 562PublicKey pubKey = PublicKey;
System\Security\Cryptography\X509Certificates\X509SignatureGenerator.cs (3)
8private PublicKey? _publicKey; 10public PublicKey PublicKey => _publicKey ??= BuildPublicKey(); 14protected 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))]