public class ECDiffieHellman extends ECAlgorithm
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.ECDiffieHellman
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.ECDiffieHellman
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ECDiffieHellman() |
ECDiffieHellman(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ECDiffieHellman |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ECDiffieHellman, a cast assert is made to check if types are compatible. |
static ECDiffieHellman |
Create(ECCurve curve)
Invokes the .NET member Create.
|
static ECDiffieHellman |
Create(ECParameters parameters)
Invokes the .NET member Create.
|
static ECDiffieHellman |
CreateNewECDiffieHellman()
Invokes the .NET member CreateNewECDiffieHellman.
|
static ECDiffieHellman |
CreateNewECDiffieHellman(java.lang.String algorithm)
Invokes the .NET member CreateNewECDiffieHellman.
|
byte[] |
DeriveKeyFromHash(ECDiffieHellmanPublicKey otherPartyPublicKey,
HashAlgorithmName hashAlgorithm)
Invokes the .NET member DeriveKeyFromHash.
|
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)
Invokes the .NET member DeriveKeyFromHmac.
|
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)
Invokes the .NET member DeriveKeyFromHmac.
|
byte[] |
DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0,
HashAlgorithmName dupParam1,
JCORefOut dupParam2,
JCORefOut dupParam3,
JCORefOut dupParam4)
Invokes the .NET member DeriveKeyFromHmac.
|
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.
|
void |
FromXmlString(java.lang.String xmlString)
Invokes the .NET member FromXmlString.
|
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. |
ECDiffieHellmanPublicKey |
getPublicKey()
Gets the value of the .NET property PublicKey.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
java.lang.String |
ToXmlString(boolean includePrivateParameters)
Invokes the .NET member ToXmlString.
|
ExportECPrivateKey, ExportECPrivateKeyPem, ExportExplicitParameters, ExportParameters, GenerateKey, ImportParametersClear, 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 ECDiffieHellman()
throws java.lang.Throwable
java.lang.Throwablepublic ECDiffieHellman(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 ECDiffieHellman cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ECDiffieHellman, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedECDiffieHellman instancejava.lang.Throwable - in case of error during cast operationpublic static ECDiffieHellman Create(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotSupportedException
curve - 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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static ECDiffieHellman Create(ECParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, CryptographicException, NotSupportedException
parameters - 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 itCryptographicException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static ECDiffieHellman CreateNewECDiffieHellman() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, CryptographicException
java.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 itCryptographicException - if the .NET member raises itpublic static ECDiffieHellman CreateNewECDiffieHellman(java.lang.String algorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, IndexOutOfRangeException, CryptographicException
algorithm - the argument of type java.lang.Stringjava.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 itTypeLoadException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic byte[] DeriveKeyFromHash(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException
otherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyhashAlgorithm - the argument of type HashAlgorithmNamejava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyFromHash(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] secretPrepend, byte[] secretAppend) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
otherPartyPublicKey - 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 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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyFromHash(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
dupParam0 - 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 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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] hmacKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException
otherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyhashAlgorithm - the argument of type HashAlgorithmNamehmacKey - the argument of type byte[]java.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey otherPartyPublicKey, HashAlgorithmName hashAlgorithm, byte[] hmacKey, byte[] secretPrepend, byte[] secretAppend) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
otherPartyPublicKey - 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 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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException
dupParam0 - the argument of type ECDiffieHellmanPublicKeydupParam1 - the argument of type HashAlgorithmNamedupParam2 - the argument of type JCORefOutjava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyFromHmac(ECDiffieHellmanPublicKey dupParam0, HashAlgorithmName dupParam1, JCORefOut dupParam2, JCORefOut dupParam3, JCORefOut dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
dupParam0 - 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 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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyMaterial(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
otherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyjava.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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyTls(ECDiffieHellmanPublicKey otherPartyPublicKey, byte[] prfLabel, byte[] prfSeed) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
otherPartyPublicKey - 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 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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveKeyTls(ECDiffieHellmanPublicKey dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
dupParam0 - 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 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 itNotImplementedException - if the .NET member raises itpublic byte[] DeriveRawSecretAgreement(ECDiffieHellmanPublicKey otherPartyPublicKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotImplementedException
otherPartyPublicKey - the argument of type ECDiffieHellmanPublicKeyjava.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 itNotImplementedException - if the .NET member raises itpublic void FromXmlString(java.lang.String xmlString)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotImplementedException
FromXmlString in class AsymmetricAlgorithmxmlString - the argument of type java.lang.Stringjava.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 itNotImplementedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ECAlgorithmpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ECAlgorithmpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ECAlgorithmnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ECAlgorithmpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ECAlgorithmpublic ECDiffieHellmanPublicKey getPublicKey() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ECAlgorithminstance - the new underlying objectpublic java.lang.String ToXmlString(boolean includePrivateParameters)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotImplementedException
ToXmlString in class AsymmetricAlgorithmincludePrivateParameters - the argument of type booleanjava.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 itNotImplementedException - if the .NET member raises it