Package system.security.cryptography
Class ECDiffieHellmanCng
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.AsymmetricAlgorithm
-
- 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.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.StringassemblyFullNameFully assembly qualified name: System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Corestatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.ECDiffieHellmanCngstatic JCTypeclassTypeThe 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 ECDiffieHellmanCngcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance 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)SafeNCryptSecretHandleDeriveSecretAgreementHandle(CngKey otherPartyPublicKey)SafeNCryptSecretHandleDeriveSecretAgreementHandle(ECDiffieHellmanPublicKey otherPartyPublicKey)ECParametersExportExplicitParameters(boolean includePrivateParameters)ECParametersExportParameters(boolean includePrivateParameters)voidFromXmlString(java.lang.String xmlString)voidFromXmlString(java.lang.String xml, ECKeyXmlFormat format)voidGenerateKey(ECCurve curve)CngAlgorithmgetHashAlgorithm()byte[]getHmacKey()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeCngKeygetKey()ECDiffieHellmanKeyDerivationFunctiongetKeyDerivationFunction()byte[]getLabel()byte[]getSecretAppend()byte[]getSecretPrepend()byte[]getSeed()booleangetUseSecretAgreementAsHmacKey()voidImportParameters(ECParameters parameters)voidsetHashAlgorithm(CngAlgorithm HashAlgorithm)voidsetHmacKey(byte[] HmacKey)voidsetJCOInstance(JCObject instance)voidsetKey(CngKey Key)voidsetKeyDerivationFunction(ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction)voidsetLabel(byte[] Label)voidsetSecretAppend(byte[] SecretAppend)voidsetSecretPrepend(byte[] SecretPrepend)voidsetSeed(byte[] Seed)java.lang.StringToXmlString(boolean includePrivateParameters)java.lang.StringToXmlString(ECKeyXmlFormat format)-
Methods inherited from class system.security.cryptography.ECDiffieHellman
Create, Create, CreateNewECDiffieHellman, CreateNewECDiffieHellman, DeriveKeyFromHash, DeriveKeyFromHmac, DeriveKeyFromHmac, getPublicKey
-
Methods inherited from class system.security.cryptography.AsymmetricAlgorithm
Clear, close, Create, Create, Dispose, getKeyExchangeAlgorithm, getKeySize, getLegalKeySizes, getSignatureAlgorithm, setKeySize
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Core- 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.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ECDiffieHellmanCng
public ECDiffieHellmanCng() throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, PlatformNotSupportedException, CryptographicException
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(int keySize) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, CryptographicException- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionCryptographicException
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(CngKey key) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, CryptographicException, PlatformNotSupportedException, SecurityException, NotSupportedException, MissingMethodException
- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionPlatformNotSupportedExceptionSecurityExceptionNotSupportedExceptionMissingMethodException
-
ECDiffieHellmanCng
public ECDiffieHellmanCng(ECCurve curve) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classECDiffieHellman- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classECDiffieHellman- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classECDiffieHellman- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classECDiffieHellman- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classECDiffieHellman
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classECDiffieHellman- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ECDiffieHellmanCng cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoECDiffieHellmanCng, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ECDiffieHellmanCnginstance- 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, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Overrides:
DeriveKeyFromHashin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
DeriveKeyFromHash
public byte[] DeriveKeyFromHash(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Overrides:
DeriveKeyFromHashin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
DeriveKeyFromHmac
public byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] hmacKey, byte[] secretPrepend, byte[] secretAppend) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Overrides:
DeriveKeyFromHmacin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
DeriveKeyFromHmac
public byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3, JCORefOut dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Overrides:
DeriveKeyFromHmacin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
DeriveKeyMaterial
public byte[] DeriveKeyMaterial(CngKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CryptographicException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NullReferenceException, SecurityException, NotSupportedException, MissingMethodException, PlatformNotSupportedException, RankException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionCryptographicExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionSecurityExceptionNotSupportedExceptionMissingMethodExceptionPlatformNotSupportedExceptionRankExceptionOutOfMemoryException
-
DeriveKeyMaterial
public byte[] DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, SecurityException, RankException
- Overrides:
DeriveKeyMaterialin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionSecurityExceptionRankException
-
DeriveKeyTls
public byte[] DeriveKeyTls(ECDiffieHellmanPublicKey otherPartyPublicKey, byte[] prfLabel, byte[] prfSeed) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Overrides:
DeriveKeyTlsin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
DeriveKeyTls
public byte[] DeriveKeyTls(ECDiffieHellmanPublicKey dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Overrides:
DeriveKeyTlsin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
DeriveSecretAgreementHandle
public SafeNCryptSecretHandle DeriveSecretAgreementHandle(CngKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, CryptographicException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NullReferenceException, PlatformNotSupportedException, RankException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionCryptographicExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNullReferenceExceptionPlatformNotSupportedExceptionRankExceptionMissingMethodException
-
DeriveSecretAgreementHandle
public SafeNCryptSecretHandle DeriveSecretAgreementHandle(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionPlatformNotSupportedExceptionCryptographicExceptionOutOfMemoryExceptionRankException
-
ExportExplicitParameters
public ECParameters ExportExplicitParameters(boolean includePrivateParameters) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CryptographicException, ArgumentException, NullReferenceException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, RankException, MissingMethodException, TargetInvocationException, NotSupportedException
- Overrides:
ExportExplicitParametersin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCryptographicExceptionArgumentExceptionNullReferenceExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionRankExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedException
-
ExportParameters
public ECParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CryptographicException, ArgumentException, NullReferenceException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, RankException, MissingMethodException, TargetInvocationException, NotSupportedException
- Overrides:
ExportParametersin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCryptographicExceptionArgumentExceptionNullReferenceExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionRankExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedException
-
ToXmlString
public java.lang.String ToXmlString(boolean includePrivateParameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException- Overrides:
ToXmlStringin classAsymmetricAlgorithm- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException
-
ToXmlString
public java.lang.String ToXmlString(ECKeyXmlFormat format) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException, XmlException, NotSupportedException, RankException, FormatException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionXmlExceptionNotSupportedExceptionRankExceptionFormatException
-
FromXmlString
public void FromXmlString(java.lang.String xmlString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException- Overrides:
FromXmlStringin classAsymmetricAlgorithm- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException
-
FromXmlString
public void FromXmlString(java.lang.String xml, ECKeyXmlFormat format) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, AbandonedMutexException, MissingManifestResourceException, MissingMethodException, TargetInvocationException, CultureNotFoundException, FormatException, RankException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionAbandonedMutexExceptionMissingManifestResourceExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionFormatExceptionRankException
-
GenerateKey
public void GenerateKey(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, PlatformNotSupportedException, RankException
- Overrides:
GenerateKeyin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionPlatformNotSupportedExceptionRankException
-
ImportParameters
public void ImportParameters(ECParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, CryptographicException, ArgumentOutOfRangeException, IndexOutOfRangeException, NullReferenceException, OutOfMemoryException, NotSupportedException, MissingMethodException, TargetInvocationException, PlatformNotSupportedException
- Overrides:
ImportParametersin classECDiffieHellman- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNullReferenceExceptionOutOfMemoryExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionPlatformNotSupportedException
-
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, NullReferenceException, ArgumentNullException
- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullException
-
getKey
public CngKey getKey() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CryptographicException, ArgumentException, NullReferenceException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, PlatformNotSupportedException, RankException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCryptographicExceptionArgumentExceptionNullReferenceExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionPlatformNotSupportedExceptionRankException
-
setKey
public void setKey(CngKey Key) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CryptographicException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCryptographicExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNullReferenceException
-
getKeyDerivationFunction
public ECDiffieHellmanKeyDerivationFunction getKeyDerivationFunction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeyDerivationFunction
public void setKeyDerivationFunction(ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
-