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
}