System.Security.Cryptography.X509Certificates.X509Certificate.X509Certificate.X509Certificate.GetKeyAlgorithmParameters C# (CSharp) Method

GetKeyAlgorithmParameters() public method

public GetKeyAlgorithmParameters ( ) : byte[]
return byte[]
		public virtual byte[] GetKeyAlgorithmParameters () 
		{
#if NET_2_0
			if (x509 == null)
				throw new CryptographicException (Locale.GetText ("Certificate instance is empty."));

			byte[] kap = x509.KeyAlgorithmParameters;
			if (kap == null)
				throw new CryptographicException (Locale.GetText ("Parameters not part of the certificate"));

			return kap;
#else
			return x509.KeyAlgorithmParameters;
#endif
		}