Table of Contents

Class SecretKeySpec

Namespace
Javax.Crypto.Spec
Assembly
MASES.Netdroid.dll
public class SecretKeySpec : JVMBridgeBase<SecretKeySpec>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IKeySpec, ISecretKey
Inheritance
SecretKeySpec
Implements
Extension Methods

Constructors

SecretKeySpec(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 SecretKeySpec(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

SecretKeySpec(byte[], String)

public SecretKeySpec(byte[] arg0, String arg1)

Parameters

arg0 byte[]

byte

arg1 String

String

SecretKeySpec(byte[], int, int, String)

public SecretKeySpec(byte[] arg0, int arg1, int arg2, String arg3)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 String

String

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance(byte[], String)

HPA initializer for SecretKeySpec(byte[] arg0, Java.Lang.String arg1)

public static SecretKeySpec CreatePoolableInstance(byte[] arg0, String arg1)

Parameters

arg0 byte[]
arg1 String

Returns

SecretKeySpec

CreatePoolableInstance(byte[], int, int, String)

HPA initializer for SecretKeySpec(byte[] arg0, int arg1, int arg2, Java.Lang.String arg3)

public static SecretKeySpec CreatePoolableInstance(byte[] arg0, int arg1, int arg2, String arg3)

Parameters

arg0 byte[]
arg1 int
arg2 int
arg3 String

Returns

SecretKeySpec

GetAlgorithm()

public String GetAlgorithm()

Returns

String

String

GetEncoded()

public byte[] GetEncoded()

Returns

byte[]

byte

GetFormat()

public String GetFormat()

Returns

String

String

Operators

implicit operator KeySpec(SecretKeySpec)

Converter from SecretKeySpec to KeySpec

public static implicit operator KeySpec(SecretKeySpec t)

Parameters

t SecretKeySpec

Returns

KeySpec

implicit operator SecretKey(SecretKeySpec)

Converter from SecretKeySpec to SecretKey

public static implicit operator SecretKey(SecretKeySpec t)

Parameters

t SecretKeySpec

Returns

SecretKey