Class KeyAgreement
public class KeyAgreement : JVMBridgeBase<KeyAgreement>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
KeyAgreement
- Implements
- Extension Methods
Constructors
KeyAgreement(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public KeyAgreement(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
DoPhase(Key, bool)
public Key DoPhase(Key arg0, bool arg1)
Parameters
Returns
Exceptions
GenerateSecret()
public byte[] GenerateSecret()
Returns
Exceptions
GenerateSecret(String)
public SecretKey GenerateSecret(String arg0)
Parameters
Returns
Exceptions
GenerateSecret(byte[], int)
public int GenerateSecret(byte[] arg0, int arg1)
Parameters
Returns
Exceptions
GetAlgorithm()
public String GetAlgorithm()
Returns
GetInstance(String)
https://developer.android.com/reference/javax/crypto/KeyAgreement.html#getInstance(java.lang.String)
public static KeyAgreement GetInstance(String arg0)
Parameters
Returns
Exceptions
GetInstance(String, String)
public static KeyAgreement GetInstance(String arg0, String arg1)
Parameters
Returns
Exceptions
GetInstance(String, Provider)
public static KeyAgreement GetInstance(String arg0, Provider arg1)
Parameters
Returns
Exceptions
GetProvider()
public Provider GetProvider()
Returns
Init(Key)
public void Init(Key arg0)
Parameters
Exceptions
Init(Key, SecureRandom)
public void Init(Key arg0, SecureRandom arg1)
Parameters
arg0Keyarg1SecureRandom
Exceptions
Init(Key, AlgorithmParameterSpec)
public void Init(Key arg0, AlgorithmParameterSpec arg1)
Parameters
arg0Keyarg1AlgorithmParameterSpec
Exceptions
Init(Key, AlgorithmParameterSpec, SecureRandom)
public void Init(Key arg0, AlgorithmParameterSpec arg1, SecureRandom arg2)
Parameters
arg0Keyarg1AlgorithmParameterSpecarg2SecureRandom