Package system.security.cryptography
Class ECDiffieHellmanCng
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.AsymmetricAlgorithm
-
- system.security.cryptography.ECAlgorithm
-
- system.security.cryptography.ECDiffieHellman
-
- system.security.cryptography.ECDiffieHellmanCng
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class ECDiffieHellmanCng extends ECDiffieHellman
The base .NET class managing System.Security.Cryptography.ECDiffieHellmanCng, System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.ECDiffieHellmanCng
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Security.Cryptographystatic java.lang.String
className
Qualified class name: System.Security.Cryptography.ECDiffieHellmanCngstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ECDiffieHellmanCng()
ECDiffieHellmanCng(int keySize)
ECDiffieHellmanCng(java.lang.Object instance)
Internal constructor.ECDiffieHellmanCng(CngKey key)
ECDiffieHellmanCng(ECCurve curve)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ECDiffieHellmanCng
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoECDiffieHellmanCng
, a cast assert is made to check if types are compatible.byte[]
DeriveKeyFromHash(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] secretPrepend, byte[] secretAppend)
byte[]
DeriveKeyFromHash(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3)
byte[]
DeriveKeyFromHmac(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] hmacKey, byte[] secretPrepend, byte[] secretAppend)
byte[]
DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3, JCORefOut dupParam4)
byte[]
DeriveKeyMaterial(CngKey otherPartyPublicKey)
byte[]
DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey)
byte[]
DeriveKeyTls(ECDiffieHellmanPublicKey otherPartyPublicKey, byte[] prfLabel, byte[] prfSeed)
byte[]
DeriveKeyTls(ECDiffieHellmanPublicKey dupParam0, JCORefOut dupParam1, JCORefOut dupParam2)
byte[]
DeriveRawSecretAgreement(ECDiffieHellmanPublicKey otherPartyPublicKey)
SafeNCryptSecretHandle
DeriveSecretAgreementHandle(CngKey otherPartyPublicKey)
SafeNCryptSecretHandle
DeriveSecretAgreementHandle(ECDiffieHellmanPublicKey otherPartyPublicKey)
ECParameters
ExportExplicitParameters(boolean includePrivateParameters)
ECParameters
ExportParameters(boolean includePrivateParameters)
void
FromXmlString(java.lang.String xml, ECKeyXmlFormat format)
void
GenerateKey(ECCurve curve)
CngAlgorithm
getHashAlgorithm()
byte[]
getHmacKey()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeCngKey
getKey()
ECDiffieHellmanKeyDerivationFunction
getKeyDerivationFunction()
byte[]
getLabel()
byte[]
getSecretAppend()
byte[]
getSecretPrepend()
byte[]
getSeed()
boolean
getUseSecretAgreementAsHmacKey()
void
ImportParameters(ECParameters parameters)
void
setHashAlgorithm(CngAlgorithm HashAlgorithm)
void
setHmacKey(byte[] HmacKey)
void
setJCOInstance(JCObject instance)
void
setKey(CngKey Key)
void
setKeyDerivationFunction(ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction)
void
setLabel(byte[] Label)
void
setSecretAppend(byte[] SecretAppend)
void
setSecretPrepend(byte[] SecretPrepend)
void
setSeed(byte[] Seed)
java.lang.String
ToXmlString(ECKeyXmlFormat format)
-
Methods inherited from class system.security.cryptography.ECDiffieHellman
Create, Create, CreateNewECDiffieHellman, CreateNewECDiffieHellman, DeriveKeyFromHash, DeriveKeyFromHmac, DeriveKeyFromHmac, FromXmlString, getPublicKey, ToXmlString
-
Methods inherited from class system.security.cryptography.ECAlgorithm
ExportECPrivateKey, ExportECPrivateKeyPem
-
Methods inherited from class system.security.cryptography.AsymmetricAlgorithm
Clear, close, Create, Create, Dispose, ExportPkcs8PrivateKey, ExportPkcs8PrivateKeyPem, ExportSubjectPublicKeyInfo, ExportSubjectPublicKeyInfoPem, getKeyExchangeAlgorithm, getKeySize, getLegalKeySizes, getSignatureAlgorithm, setKeySize
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security.Cryptography- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.ECDiffieHellmanCng- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ECDiffieHellmanCng
public ECDiffieHellmanCng() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, CryptographicException
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(int keySize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(CngKey key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classECDiffieHellman
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classECDiffieHellman
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classECDiffieHellman
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classECDiffieHellman
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classECDiffieHellman
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classECDiffieHellman
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ECDiffieHellmanCng cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoECDiffieHellmanCng
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ECDiffieHellmanCng
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
DeriveKeyFromHash
public byte[] DeriveKeyFromHash(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] secretPrepend, byte[] secretAppend) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
- Overrides:
DeriveKeyFromHash
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
-
DeriveKeyFromHash
public byte[] DeriveKeyFromHash(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
- Overrides:
DeriveKeyFromHash
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
-
DeriveKeyFromHmac
public byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] hmacKey, byte[] secretPrepend, byte[] secretAppend) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
- Overrides:
DeriveKeyFromHmac
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
-
DeriveKeyFromHmac
public byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3, JCORefOut dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
- Overrides:
DeriveKeyFromHmac
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
-
DeriveKeyMaterial
public byte[] DeriveKeyMaterial(CngKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
-
DeriveKeyMaterial
public byte[] DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
- Overrides:
DeriveKeyMaterial
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MissingMethodException
TargetInvocationException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
-
DeriveKeyTls
public byte[] DeriveKeyTls(ECDiffieHellmanPublicKey otherPartyPublicKey, byte[] prfLabel, byte[] prfSeed) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException
- Overrides:
DeriveKeyTls
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
-
DeriveKeyTls
public byte[] DeriveKeyTls(ECDiffieHellmanPublicKey dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException
- Overrides:
DeriveKeyTls
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
-
DeriveRawSecretAgreement
public byte[] DeriveRawSecretAgreement(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, NullReferenceException
- Overrides:
DeriveRawSecretAgreement
in classECDiffieHellman
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
NullReferenceException
-
DeriveSecretAgreementHandle
public SafeNCryptSecretHandle DeriveSecretAgreementHandle(CngKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
MissingMethodException
TargetInvocationException
-
DeriveSecretAgreementHandle
public SafeNCryptSecretHandle DeriveSecretAgreementHandle(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MissingMethodException
TargetInvocationException
CryptographicException
OutOfMemoryException
-
ExportExplicitParameters
public ECParameters ExportExplicitParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, AsnContentException
- Overrides:
ExportExplicitParameters
in classECAlgorithm
- Throws:
java.lang.Throwable
ObjectDisposedException
CryptographicException
ArgumentOutOfRangeException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentNullException
NotSupportedException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
ArrayTypeMismatchException
AsnContentException
-
ExportParameters
public ECParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, AsnContentException
- Overrides:
ExportParameters
in classECAlgorithm
- Throws:
java.lang.Throwable
ObjectDisposedException
CryptographicException
ArgumentOutOfRangeException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentNullException
NotSupportedException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
ArrayTypeMismatchException
AsnContentException
-
ToXmlString
public java.lang.String ToXmlString(ECKeyXmlFormat format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
FromXmlString
public void FromXmlString(java.lang.String xml, ECKeyXmlFormat format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
GenerateKey
public void GenerateKey(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException
- Overrides:
GenerateKey
in classECAlgorithm
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
MissingMethodException
TargetInvocationException
-
ImportParameters
public void ImportParameters(ECParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
- Overrides:
ImportParameters
in classECAlgorithm
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
-
getUseSecretAgreementAsHmacKey
public boolean getUseSecretAgreementAsHmacKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHmacKey
public byte[] getHmacKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHmacKey
public void setHmacKey(byte[] HmacKey) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLabel
public byte[] getLabel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLabel
public void setLabel(byte[] Label) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSecretAppend
public byte[] getSecretAppend() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSecretAppend
public void setSecretAppend(byte[] SecretAppend) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSecretPrepend
public byte[] getSecretPrepend() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSecretPrepend
public void setSecretPrepend(byte[] SecretPrepend) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSeed
public byte[] getSeed() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSeed
public void setSeed(byte[] Seed) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHashAlgorithm
public CngAlgorithm getHashAlgorithm() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHashAlgorithm
public void setHashAlgorithm(CngAlgorithm HashAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getKey
public CngKey getKey() throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, OutOfMemoryException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ObjectDisposedException
CryptographicException
ArgumentOutOfRangeException
PlatformNotSupportedException
ArgumentNullException
ArgumentException
InvalidOperationException
OutOfMemoryException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
setKey
public void setKey(CngKey Key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
-
getKeyDerivationFunction
public ECDiffieHellmanKeyDerivationFunction getKeyDerivationFunction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeyDerivationFunction
public void setKeyDerivationFunction(ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
-