public class ECDiffieHellmanCng extends ECDiffieHellman
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.ECDiffieHellmanCng
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.ECDiffieHellmanCng
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ECDiffieHellmanCng()
Initializes a new instance by invoking the .NET constructor.
|
ECDiffieHellmanCng(CngKey key)
Initializes a new instance by invoking the .NET constructor.
|
ECDiffieHellmanCng(ECCurve curve)
Initializes a new instance by invoking the .NET constructor.
|
ECDiffieHellmanCng(int keySize)
Initializes a new instance by invoking the .NET constructor.
|
ECDiffieHellmanCng(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ECDiffieHellmanCng |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ECDiffieHellmanCng, a cast assert is made to check if types are compatible. |
byte[] |
DeriveKeyFromHash(ECDiffieHellmanPublicKey otherPartyPublicKey,
HashAlgorithmName hashAlgorithm,
byte[] secretPrepend,
byte[] secretAppend)
Invokes the .NET member DeriveKeyFromHash.
|
byte[] |
DeriveKeyFromHash(ECDiffieHellmanPublicKey dupParam0,
HashAlgorithmName dupParam1,
JCORefOut dupParam2,
JCORefOut dupParam3)
Invokes the .NET member DeriveKeyFromHash.
|
byte[] |
DeriveKeyFromHmac(ECDiffieHellmanPublicKey otherPartyPublicKey,
HashAlgorithmName hashAlgorithm,
byte[] hmacKey,
byte[] secretPrepend,
byte[] secretAppend)
Invokes the .NET member DeriveKeyFromHmac.
|
byte[] |
DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0,
HashAlgorithmName dupParam1,
JCORefOut dupParam2,
JCORefOut dupParam3,
JCORefOut dupParam4)
Invokes the .NET member DeriveKeyFromHmac.
|
byte[] |
DeriveKeyMaterial(CngKey otherPartyPublicKey)
Invokes the .NET member DeriveKeyMaterial.
|
byte[] |
DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey)
Invokes the .NET member DeriveKeyMaterial.
|
byte[] |
DeriveKeyTls(ECDiffieHellmanPublicKey otherPartyPublicKey,
byte[] prfLabel,
byte[] prfSeed)
Invokes the .NET member DeriveKeyTls.
|
byte[] |
DeriveKeyTls(ECDiffieHellmanPublicKey dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2)
Invokes the .NET member DeriveKeyTls.
|
byte[] |
DeriveRawSecretAgreement(ECDiffieHellmanPublicKey otherPartyPublicKey)
Invokes the .NET member DeriveRawSecretAgreement.
|
SafeNCryptSecretHandle |
DeriveSecretAgreementHandle(CngKey otherPartyPublicKey)
Invokes the .NET member DeriveSecretAgreementHandle.
|
SafeNCryptSecretHandle |
DeriveSecretAgreementHandle(ECDiffieHellmanPublicKey otherPartyPublicKey)
Invokes the .NET member DeriveSecretAgreementHandle.
|
ECParameters |
ExportExplicitParameters(boolean includePrivateParameters)
Invokes the .NET member ExportExplicitParameters.
|
ECParameters |
ExportParameters(boolean includePrivateParameters)
Invokes the .NET member ExportParameters.
|
void |
FromXmlString(java.lang.String xml,
ECKeyXmlFormat format)
Invokes the .NET member FromXmlString.
|
void |
GenerateKey(ECCurve curve)
Invokes the .NET member GenerateKey.
|
CngAlgorithm |
getHashAlgorithm()
Gets the value of the .NET property HashAlgorithm.
|
byte[] |
getHmacKey()
Gets the value of the .NET property HmacKey.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
CngKey |
getKey()
Gets the value of the .NET property Key.
|
ECDiffieHellmanKeyDerivationFunction |
getKeyDerivationFunction()
Gets the value of the .NET property KeyDerivationFunction.
|
byte[] |
getLabel()
Gets the value of the .NET property Label.
|
byte[] |
getSecretAppend()
Gets the value of the .NET property SecretAppend.
|
byte[] |
getSecretPrepend()
Gets the value of the .NET property SecretPrepend.
|
byte[] |
getSeed()
Gets the value of the .NET property Seed.
|
boolean |
getUseSecretAgreementAsHmacKey()
Gets the value of the .NET property UseSecretAgreementAsHmacKey.
|
void |
ImportParameters(ECParameters parameters)
Invokes the .NET member ImportParameters.
|
void |
setHashAlgorithm(CngAlgorithm HashAlgorithm)
Sets the value of the .NET property HashAlgorithm.
|
void |
setHmacKey(byte[] HmacKey)
Sets the value of the .NET property HmacKey.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setKey(CngKey Key)
Sets the value of the .NET property Key.
|
void |
setKeyDerivationFunction(ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction)
Sets the value of the .NET property KeyDerivationFunction.
|
void |
setLabel(byte[] Label)
Sets the value of the .NET property Label.
|
void |
setSecretAppend(byte[] SecretAppend)
Sets the value of the .NET property SecretAppend.
|
void |
setSecretPrepend(byte[] SecretPrepend)
Sets the value of the .NET property SecretPrepend.
|
void |
setSeed(byte[] Seed)
Sets the value of the .NET property Seed.
|
java.lang.String |
ToXmlString(ECKeyXmlFormat format)
Invokes the .NET member ToXmlString.
|
Create, Create, CreateNewECDiffieHellman, CreateNewECDiffieHellman, DeriveKeyFromHash, DeriveKeyFromHmac, DeriveKeyFromHmac, FromXmlString, getPublicKey, ToXmlStringExportECPrivateKey, ExportECPrivateKeyPemClear, close, Create, Create, Dispose, ExportPkcs8PrivateKey, ExportPkcs8PrivateKeyPem, ExportSubjectPublicKeyInfo, ExportSubjectPublicKeyInfoPem, getKeyExchangeAlgorithm, getKeySize, getLegalKeySizes, getSignatureAlgorithm, setKeySizepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ECDiffieHellmanCng()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic ECDiffieHellmanCng(CngKey key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, CryptographicException, NotSupportedException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
key - the argument of type CngKeyjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic ECDiffieHellmanCng(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
curve - the argument of type ECCurvejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic ECDiffieHellmanCng(int keySize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
keySize - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic ECDiffieHellmanCng(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static ECDiffieHellmanCng cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ECDiffieHellmanCng, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedECDiffieHellmanCng instancejava.lang.Throwable - in case of error during cast operationpublic 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
DeriveKeyFromHash in class ECDiffieHellmanotherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyhashAlgorithm - the argument of type HashAlgorithmNamesecretPrepend - the argument of type byte[]secretAppend - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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
DeriveKeyFromHash in class ECDiffieHellmandupParam0 - the argument of type ECDiffieHellmanPublicKeydupParam1 - the argument of type HashAlgorithmNamedupParam2 - the argument of type JCORefOutdupParam3 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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
DeriveKeyFromHmac in class ECDiffieHellmanotherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyhashAlgorithm - the argument of type HashAlgorithmNamehmacKey - the argument of type byte[]secretPrepend - the argument of type byte[]secretAppend - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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
DeriveKeyFromHmac in class ECDiffieHellmandupParam0 - the argument of type ECDiffieHellmanPublicKeydupParam1 - the argument of type HashAlgorithmNamedupParam2 - the argument of type JCORefOutdupParam3 - the argument of type JCORefOutdupParam4 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic byte[] DeriveKeyMaterial(CngKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
otherPartyPublicKey - the argument of type CngKeyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic byte[] DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
DeriveKeyMaterial in class ECDiffieHellmanotherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic byte[] DeriveKeyTls(ECDiffieHellmanPublicKey otherPartyPublicKey, byte[] prfLabel, byte[] prfSeed) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
DeriveKeyTls in class ECDiffieHellmanotherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyprfLabel - the argument of type byte[]prfSeed - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic byte[] DeriveKeyTls(ECDiffieHellmanPublicKey dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
DeriveKeyTls in class ECDiffieHellmandupParam0 - the argument of type ECDiffieHellmanPublicKeydupParam1 - the argument of type JCORefOutdupParam2 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic byte[] DeriveRawSecretAgreement(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException
DeriveRawSecretAgreement in class ECDiffieHellmanotherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic SafeNCryptSecretHandle DeriveSecretAgreementHandle(CngKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, MissingMethodException, TargetInvocationException
otherPartyPublicKey - the argument of type CngKeyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic SafeNCryptSecretHandle DeriveSecretAgreementHandle(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, OutOfMemoryException
otherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic ECParameters ExportExplicitParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
ExportExplicitParameters in class ECAlgorithmincludePrivateParameters - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ECParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
ExportParameters in class ECAlgorithmincludePrivateParameters - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void FromXmlString(java.lang.String xml,
ECKeyXmlFormat format)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
xml - the argument of type java.lang.Stringformat - the argument of type ECKeyXmlFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void GenerateKey(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
GenerateKey in class ECAlgorithmcurve - the argument of type ECCurvejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic CngAlgorithm getHashAlgorithm() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] getHmacKey()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ECDiffieHellmanpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ECDiffieHellmanpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ECDiffieHellmannull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ECDiffieHellmanpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ECDiffieHellmanpublic CngKey getKey() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, CryptographicException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, OutOfMemoryException, NotSupportedException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic ECDiffieHellmanKeyDerivationFunction getKeyDerivationFunction() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] getLabel()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] getSecretAppend()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] getSecretPrepend()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] getSeed()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseSecretAgreementAsHmacKey()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ImportParameters(ECParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
ImportParameters in class ECAlgorithmparameters - the argument of type ECParametersjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setHashAlgorithm(CngAlgorithm HashAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
HashAlgorithm - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setHmacKey(byte[] HmacKey)
throws java.lang.Throwable
HmacKey - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ECDiffieHellmaninstance - the new underlying objectpublic void setKey(CngKey Key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
Key - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic void setKeyDerivationFunction(ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
KeyDerivationFunction - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setLabel(byte[] Label)
throws java.lang.Throwable
Label - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSecretAppend(byte[] SecretAppend)
throws java.lang.Throwable
SecretAppend - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSecretPrepend(byte[] SecretPrepend)
throws java.lang.Throwable
SecretPrepend - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSeed(byte[] Seed)
throws java.lang.Throwable
Seed - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToXmlString(ECKeyXmlFormat format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
format - the argument of type ECKeyXmlFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises it