Goedel.Cryptography.Jose.Key.GetPrivate C# (CSharp) Méthode

GetPrivate() public static méthode

Return the private portion of the keypair.
public static GetPrivate ( KeyPair KeyPair ) : Key
KeyPair Goedel.Cryptography.KeyPair The key pair.
Résultat Key
        public static Key GetPrivate(KeyPair KeyPair) {
            if (KeyPair as RSAKeyPair != null) {
                return new PrivateKeyRSA(KeyPair as RSAKeyPair);
                }
            return null;
            }