Table of Contents

Class EncryptedPrivateKeyInfo

Namespace
Javax.Crypto
Assembly
MASES.Netdroid.dll
public class EncryptedPrivateKeyInfo : JVMBridgeBase<EncryptedPrivateKeyInfo>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
EncryptedPrivateKeyInfo
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<EncryptedPrivateKeyInfo>.IsAssignableFrom(IJavaType)
JVMBridgeBase<EncryptedPrivateKeyInfo>.IsAssignableFrom<T>()
JVMBridgeBase<EncryptedPrivateKeyInfo>.Execute<T>(params T[])
JVMBridgeBase<EncryptedPrivateKeyInfo>.DynBridgeClazz
JVMBridgeBase<EncryptedPrivateKeyInfo>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

EncryptedPrivateKeyInfo()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public EncryptedPrivateKeyInfo()

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

public EncryptedPrivateKeyInfo(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

EncryptedPrivateKeyInfo(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public EncryptedPrivateKeyInfo(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

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