5 instantiations of PublicKey
System.Security.Cryptography (5)
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
111
return new
PublicKey
(
System\Security\Cryptography\X509Certificates\PublicKey.cs (2)
153
return new
PublicKey
(localOid, localParameters, localKeyValue, skipCopy: true);
329
return new
PublicKey
(oid, parameters, keyValue, skipCopy: true);
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (1)
37
return new
PublicKey
(
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
325
publicKey = _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)
18
PublicKey
publicKey = certificate.PublicKey;
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (3)
50
public
PublicKey
PublicKey { get; }
193
public CertificateRequest(X500DistinguishedName subjectName,
PublicKey
publicKey, HashAlgorithmName hashAlgorithm)
222
PublicKey
publicKey,
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (3)
185
PublicKey
publicKey =
PublicKey
.DecodeSubjectPublicKeyInfo(ref requestInfo.SubjectPublicKeyInfo);
292
PublicKey
publicKey,
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
69
protected override
PublicKey
BuildPublicKey()
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (2)
17
internal
PublicKey
PublicKey { get; set; }
22
PublicKey
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.
144
public static
PublicKey
CreateFromSubjectPublicKeyInfo(ReadOnlySpan<byte> source, out int bytesRead)
321
internal static
PublicKey
DecodeSubjectPublicKeyInfo(ref SubjectPublicKeyInfoAsn spki)
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (2)
25
protected override
PublicKey
BuildPublicKey()
30
internal static
PublicKey
BuildPublicKey(RSA rsa)
System\Security\Cryptography\X509Certificates\RSAPssX509SignatureGenerator.cs (1)
109
protected override
PublicKey
BuildPublicKey()
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
23
private volatile
PublicKey
? _lazyPublicKey;
310
public
PublicKey
PublicKey
316
PublicKey
? publicKey = _lazyPublicKey;
562
PublicKey
pubKey = PublicKey;
System\Security\Cryptography\X509Certificates\X509SignatureGenerator.cs (3)
8
private
PublicKey
? _publicKey;
10
public
PublicKey
PublicKey => _publicKey ??= BuildPublicKey();
14
protected abstract
PublicKey
BuildPublicKey();
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (6)
37
public X509SubjectKeyIdentifierExtension(
PublicKey
key, bool critical)
42
public X509SubjectKeyIdentifierExtension(
PublicKey
key, X509SubjectKeyIdentifierHashAlgorithm algorithm, bool critical)
154
private static byte[] EncodeExtension(
PublicKey
key, X509SubjectKeyIdentifierHashAlgorithm algorithm)
163
private static byte[] GenerateSubjectKeyIdentifierFromPublicKey(
PublicKey
key, X509SubjectKeyIdentifierHashAlgorithm algorithm)
206
private static byte[] HashSubjectPublicKeyLeft160Bits(
PublicKey
key, HashAlgorithmName hashAlgorithmName)
215
private 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
))]