Table of Contents

Class EncryptedPrivateKeyInfo

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

Constructors

EncryptedPrivateKeyInfo(String, byte[])

public EncryptedPrivateKeyInfo(String arg0, byte[] arg1)

Parameters

arg0 String

String

arg1 byte[]

byte

Exceptions

NoSuchAlgorithmException

EncryptedPrivateKeyInfo(AlgorithmParameters, byte[])

public EncryptedPrivateKeyInfo(AlgorithmParameters arg0, byte[] arg1)

Parameters

arg0 AlgorithmParameters

AlgorithmParameters

arg1 byte[]

byte

Exceptions

NoSuchAlgorithmException

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

Parameters

initializer IJVMBridgeBaseInitializer

EncryptedPrivateKeyInfo(byte[])

public EncryptedPrivateKeyInfo(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

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(String, byte[])

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

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

Parameters

arg0 String
arg1 byte[]

Returns

EncryptedPrivateKeyInfo

CreatePoolableInstance(AlgorithmParameters, byte[])

HPA initializer for EncryptedPrivateKeyInfo(Java.Security.AlgorithmParameters arg0, byte[] arg1)

public static EncryptedPrivateKeyInfo CreatePoolableInstance(AlgorithmParameters arg0, byte[] arg1)

Parameters

arg0 AlgorithmParameters
arg1 byte[]

Returns

EncryptedPrivateKeyInfo

CreatePoolableInstance(byte[])

HPA initializer for EncryptedPrivateKeyInfo(byte[] arg0)

public static EncryptedPrivateKeyInfo CreatePoolableInstance(byte[] arg0)

Parameters

arg0 byte[]

Returns

EncryptedPrivateKeyInfo

GetAlgName()

public String GetAlgName()

Returns

String

String

GetAlgParameters()

public AlgorithmParameters GetAlgParameters()

Returns

AlgorithmParameters

AlgorithmParameters

GetEncoded()

public byte[] GetEncoded()

Returns

byte[]

byte

Exceptions

IOException

GetEncryptedData()

public byte[] GetEncryptedData()

Returns

byte[]

byte

GetKeySpec(Key)

public PKCS8EncodedKeySpec GetKeySpec(Key arg0)

Parameters

arg0 Key

Key

Returns

PKCS8EncodedKeySpec

PKCS8EncodedKeySpec

Exceptions

NoSuchAlgorithmException
InvalidKeyException

GetKeySpec(Key, String)

public PKCS8EncodedKeySpec GetKeySpec(Key arg0, String arg1)

Parameters

arg0 Key

Key

arg1 String

String

Returns

PKCS8EncodedKeySpec

PKCS8EncodedKeySpec

Exceptions

NoSuchProviderException
NoSuchAlgorithmException
InvalidKeyException

GetKeySpec(Key, Provider)

public PKCS8EncodedKeySpec GetKeySpec(Key arg0, Provider arg1)

Parameters

arg0 Key

Key

arg1 Provider

Provider

Returns

PKCS8EncodedKeySpec

PKCS8EncodedKeySpec

Exceptions

NoSuchAlgorithmException
InvalidKeyException

GetKeySpec(Cipher)

public PKCS8EncodedKeySpec GetKeySpec(Cipher arg0)

Parameters

arg0 Cipher

Cipher

Returns

PKCS8EncodedKeySpec

PKCS8EncodedKeySpec

Exceptions

InvalidKeySpecException