public class DSACng extends DSA
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.DSACng
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=10.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.DSACng
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DSACng() |
DSACng(CngKey key) |
DSACng(int keySize) |
DSACng(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DSACng |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DSACng, a cast assert is made to check if types are compatible. |
byte[] |
CreateSignature(byte[] rgbHash) |
byte[] |
CreateSignature(JCORefOut dupParam0) |
DSAParameters |
ExportParameters(boolean includePrivateParameters) |
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(DSAParameters parameters) |
void |
setJCOInstance(JCObject instance) |
void |
setKey(CngKey Key) |
boolean |
VerifySignature(byte[] rgbHash,
byte[] rgbSignature) |
boolean |
VerifySignature(JCORefOut dupParam0,
JCORefOut dupParam1) |
Create, Create, CreateNewDSA, CreateNewDSA, CreateSignature, CreateSignature, FromXmlString, GetMaxSignatureSize, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignData, SignData, ToXmlString, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifySignature, VerifySignatureClear, 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 DSACng()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException
public DSACng(CngKey key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, NotSupportedException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public DSACng(int keySize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException
public DSACng(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DSACng cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DSACng, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDSACng instancejava.lang.Throwable - in case of error during cast operationpublic byte[] CreateSignature(byte[] rgbHash)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException
CreateSignature in class DSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionpublic byte[] CreateSignature(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
CreateSignature in class DSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionpublic DSAParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, ObjectDisposedException, CryptographicException, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MissingMethodException, TargetInvocationException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, AsnContentException, RankException, InvalidCastException, OverflowException
ExportParameters in class DSAjava.lang.ThrowableObjectDisposedExceptionCryptographicExceptionArgumentOutOfRangeExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionAsnContentExceptionRankExceptionInvalidCastExceptionOverflowExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DSAString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DSAString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DSAObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DSAString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DSAJCType representing the CLR Type of the instantiated Classpublic CngKey getKey() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, MissingMethodException, TargetInvocationException
public void ImportParameters(DSAParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException
ImportParameters in class DSAjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DSApublic void setKey(CngKey Key) throws java.lang.Throwable, ObjectDisposedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, ArgumentNullException, NotSupportedException, CultureNotFoundException
public boolean VerifySignature(byte[] rgbHash,
byte[] rgbSignature)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
AsnContentException,
IndexOutOfRangeException,
CryptographicException
VerifySignature in class DSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionAsnContentExceptionIndexOutOfRangeExceptionCryptographicExceptionpublic boolean VerifySignature(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, AsnContentException, IndexOutOfRangeException, CryptographicException
VerifySignature in class DSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionAsnContentExceptionIndexOutOfRangeExceptionCryptographicException