public class DSA extends AsymmetricAlgorithm
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.DSA
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.DSA
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DSA() |
DSA(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DSA |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DSA, a cast assert is made to check if types are compatible. |
static DSA |
Create(DSAParameters parameters) |
static DSA |
Create(int keySizeInBits) |
static DSA |
CreateNewDSA() |
static DSA |
CreateNewDSA(java.lang.String algName) |
byte[] |
CreateSignature(byte[] rgbHash) |
byte[] |
CreateSignature(JCORefOut dupParam0) |
DSAParameters |
ExportParameters(boolean includePrivateParameters) |
void |
FromXmlString(java.lang.String xmlString) |
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
|
void |
ImportParameters(DSAParameters parameters) |
void |
setJCOInstance(JCObject instance) |
byte[] |
SignData(byte[] data,
HashAlgorithmName hashAlgorithm) |
byte[] |
SignData(byte[] data,
int offset,
int count,
HashAlgorithmName hashAlgorithm) |
byte[] |
SignData(JCORefOut dupParam0,
HashAlgorithmName dupParam1) |
byte[] |
SignData(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
HashAlgorithmName dupParam3) |
byte[] |
SignData(Stream data,
HashAlgorithmName hashAlgorithm) |
java.lang.String |
ToXmlString(boolean includePrivateParameters) |
boolean |
VerifyData(byte[] data,
byte[] signature,
HashAlgorithmName hashAlgorithm) |
boolean |
VerifyData(byte[] data,
int offset,
int count,
byte[] signature,
HashAlgorithmName hashAlgorithm) |
boolean |
VerifyData(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
HashAlgorithmName dupParam4) |
boolean |
VerifyData(JCORefOut dupParam0,
JCORefOut dupParam1,
HashAlgorithmName dupParam2) |
boolean |
VerifyData(Stream data,
byte[] signature,
HashAlgorithmName hashAlgorithm) |
boolean |
VerifyData(Stream dupParam0,
JCORefOut dupParam1,
HashAlgorithmName dupParam2) |
boolean |
VerifySignature(byte[] rgbHash,
byte[] rgbSignature) |
boolean |
VerifySignature(JCORefOut dupParam0,
JCORefOut dupParam1) |
Clear, close, Create, Create, Dispose, 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 DSA()
throws java.lang.Throwable
java.lang.Throwablepublic DSA(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DSA cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DSA, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDSA instancejava.lang.Throwable - in case of error during cast operationpublic static DSA Create(DSAParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionpublic static DSA Create(int keySizeInBits) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionpublic static DSA CreateNewDSA() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, SecurityException, NotSupportedException, ArgumentOutOfRangeException, ApplicationException, CultureNotFoundException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSecurityExceptionNotSupportedExceptionArgumentOutOfRangeExceptionApplicationExceptionCultureNotFoundExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionpublic static DSA CreateNewDSA(java.lang.String algName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionpublic byte[] CreateSignature(byte[] rgbHash)
throws java.lang.Throwable
java.lang.Throwablepublic byte[] CreateSignature(JCORefOut dupParam0) throws java.lang.Throwable
java.lang.Throwablepublic DSAParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable
java.lang.Throwablepublic void FromXmlString(java.lang.String xmlString)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
FormatException,
XmlSyntaxException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
NotSupportedException,
NullReferenceException,
CryptographicException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AsymmetricAlgorithmString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AsymmetricAlgorithmString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AsymmetricAlgorithmObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AsymmetricAlgorithmString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class AsymmetricAlgorithmJCType representing the CLR Type of the instantiated Classpublic void ImportParameters(DSAParameters parameters) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class AsymmetricAlgorithmpublic byte[] SignData(byte[] data,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic byte[] SignData(byte[] data,
int offset,
int count,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic byte[] SignData(JCORefOut dupParam0, HashAlgorithmName dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic byte[] SignData(JCORefOut dupParam0, int dupParam1, int dupParam2, HashAlgorithmName dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic java.lang.String ToXmlString(boolean includePrivateParameters)
throws java.lang.Throwable,
ArgumentNullException,
FormatException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
IndexOutOfRangeException
ToXmlString in class AsymmetricAlgorithmjava.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionpublic boolean VerifyData(byte[] data,
byte[] signature,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic boolean VerifyData(byte[] data,
int offset,
int count,
byte[] signature,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic boolean VerifyData(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, HashAlgorithmName dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic boolean VerifyData(JCORefOut dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic boolean VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic boolean VerifyData(Stream dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic boolean VerifySignature(byte[] rgbHash,
byte[] rgbSignature)
throws java.lang.Throwable
java.lang.Throwable