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

GetPublic() public static méthode

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