Goedel.Cryptography.Jose.Key.GetPrivate C# (CSharp) 메소드

GetPrivate() 공개 정적인 메소드

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