public class ECDsaCng extends ECDsa
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.ECDsaCng
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=9.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.ECDsaCng
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ECDsaCng() |
ECDsaCng(CngKey key) |
ECDsaCng(ECCurve curve) |
ECDsaCng(int keySize) |
ECDsaCng(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ECDsaCng |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ECDsaCng, a cast assert is made to check if types are compatible. |
ECParameters |
ExportExplicitParameters(boolean includePrivateParameters) |
ECParameters |
ExportParameters(boolean includePrivateParameters) |
void |
FromXmlString(java.lang.String xml,
ECKeyXmlFormat format) |
void |
GenerateKey(ECCurve curve) |
CngAlgorithm |
getHashAlgorithm() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
CngKey |
getKey() |
void |
ImportParameters(ECParameters parameters) |
void |
setHashAlgorithm(CngAlgorithm HashAlgorithm) |
void |
setJCOInstance(JCObject instance) |
void |
setKey(CngKey Key) |
byte[] |
SignData(byte[] data) |
byte[] |
SignData(byte[] data,
int offset,
int count) |
byte[] |
SignData(JCORefOut dupParam0) |
byte[] |
SignData(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
byte[] |
SignData(Stream data) |
byte[] |
SignHash(byte[] hash) |
byte[] |
SignHash(JCORefOut dupParam0) |
java.lang.String |
ToXmlString(ECKeyXmlFormat format) |
boolean |
VerifyData(byte[] data,
byte[] signature) |
boolean |
VerifyData(byte[] data,
int offset,
int count,
byte[] signature) |
boolean |
VerifyData(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3) |
boolean |
VerifyData(JCORefOut dupParam0,
JCORefOut dupParam1) |
boolean |
VerifyData(Stream data,
byte[] signature) |
boolean |
VerifyData(Stream dupParam0,
JCORefOut dupParam1) |
boolean |
VerifyHash(byte[] hash,
byte[] signature) |
boolean |
VerifyHash(JCORefOut dupParam0,
JCORefOut dupParam1) |
Create, Create, CreateNewECDsa, CreateNewECDsa, FromXmlString, GetMaxSignatureSize, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignHash, SignHash, ToXmlString, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyHash, VerifyHashExportECPrivateKey, 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 ECDsaCng()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException
public ECDsaCng(CngKey key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public ECDsaCng(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public ECDsaCng(int keySize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public ECDsaCng(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ECDsaCng cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ECDsaCng, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedECDsaCng instancejava.lang.Throwable - in case of error during cast operationpublic ECParameters ExportExplicitParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, AsnContentException
ExportExplicitParameters in class ECAlgorithmjava.lang.ThrowableObjectDisposedExceptionCryptographicExceptionArgumentOutOfRangeExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionAsnContentExceptionpublic ECParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, NotSupportedException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, AsnContentException
ExportParameters in class ECAlgorithmjava.lang.ThrowableObjectDisposedExceptionCryptographicExceptionArgumentOutOfRangeExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionAsnContentExceptionpublic void FromXmlString(java.lang.String xml,
ECKeyXmlFormat format)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public void GenerateKey(ECCurve curve) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException
GenerateKey in class ECAlgorithmjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationExceptionpublic CngAlgorithm getHashAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ECDsaString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ECDsaString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ECDsaObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ECDsaString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ECDsaJCType representing the CLR Type of the instantiated Classpublic CngKey getKey() throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, OutOfMemoryException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
java.lang.ThrowableObjectDisposedExceptionCryptographicExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionpublic void ImportParameters(ECParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
ImportParameters in class ECAlgorithmjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic void setHashAlgorithm(CngAlgorithm HashAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ECDsapublic void setKey(CngKey Key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public byte[] SignData(byte[] data)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArrayTypeMismatchException
public byte[] SignData(byte[] data,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArrayTypeMismatchException
public byte[] SignData(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CryptographicException, ArrayTypeMismatchException
public byte[] SignData(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CryptographicException, ArrayTypeMismatchException
public byte[] SignData(Stream data) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, IOException
public byte[] SignHash(byte[] hash)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException
public byte[] SignHash(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public java.lang.String ToXmlString(ECKeyXmlFormat format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public boolean VerifyData(byte[] data,
byte[] signature)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArrayTypeMismatchException
public boolean VerifyData(byte[] data,
int offset,
int count,
byte[] signature)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArrayTypeMismatchException
public boolean VerifyData(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CryptographicException, ArrayTypeMismatchException
public boolean VerifyData(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CryptographicException, ArrayTypeMismatchException
public boolean VerifyData(Stream data, byte[] signature) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, IOException
public boolean VerifyData(Stream dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, IOException
public boolean VerifyHash(byte[] hash,
byte[] signature)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
AsnContentException,
IndexOutOfRangeException,
CryptographicException
VerifyHash in class ECDsajava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionAsnContentExceptionIndexOutOfRangeExceptionCryptographicExceptionpublic boolean VerifyHash(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, AsnContentException, IndexOutOfRangeException, CryptographicException
VerifyHash in class ECDsajava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionAsnContentExceptionIndexOutOfRangeExceptionCryptographicException