public AsymmetricSecurityKey GetAsymmetricKey() { switch (handle_type) { case NativeInfocardHandleType.Asymmetric: NativeAsymmetricCryptoParameters a = (NativeAsymmetricCryptoParameters)Marshal.PtrToStructure(parameters, typeof(NativeAsymmetricCryptoParameters)); return(new AsymmetricProofTokenSecurityKey(a, this)); } throw new NotImplementedException(); }
public AsymmetricProofTokenSecurityKey(NativeAsymmetricCryptoParameters parameters, NativeInfocardCryptoHandle handle) { this.parameters = parameters; this.handle = handle; }
public AsymmetricProofTokenSecurityKey (NativeAsymmetricCryptoParameters parameters, NativeInfocardCryptoHandle handle) { this.parameters = parameters; this.handle = handle; }