public class MLDsa extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.MLDsa
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=11.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.MLDsa
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MLDsa() |
MLDsa(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MLDsa |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MLDsa, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose()
Invokes the .NET member Dispose.
|
byte[] |
ExportEncryptedPkcs8PrivateKey(java.lang.String password,
PbeParameters pbeParameters)
Invokes the .NET member ExportEncryptedPkcs8PrivateKey.
|
java.lang.String |
ExportEncryptedPkcs8PrivateKeyPem(java.lang.String password,
PbeParameters pbeParameters)
Invokes the .NET member ExportEncryptedPkcs8PrivateKeyPem.
|
byte[] |
ExportMLDsaPrivateKey()
Invokes the .NET member ExportMLDsaPrivateKey.
|
byte[] |
ExportMLDsaPrivateSeed()
Invokes the .NET member ExportMLDsaPrivateSeed.
|
byte[] |
ExportMLDsaPublicKey()
Invokes the .NET member ExportMLDsaPublicKey.
|
byte[] |
ExportPkcs8PrivateKey()
Invokes the .NET member ExportPkcs8PrivateKey.
|
java.lang.String |
ExportPkcs8PrivateKeyPem()
Invokes the .NET member ExportPkcs8PrivateKeyPem.
|
byte[] |
ExportSubjectPublicKeyInfo()
Invokes the .NET member ExportSubjectPublicKeyInfo.
|
java.lang.String |
ExportSubjectPublicKeyInfoPem()
Invokes the .NET member ExportSubjectPublicKeyInfoPem.
|
static MLDsa |
GenerateKey(MLDsaAlgorithm algorithm)
Invokes the .NET member GenerateKey.
|
MLDsaAlgorithm |
getAlgorithm()
Gets the value of the .NET property Algorithm.
|
static boolean |
getIsSupported()
Gets the value of the .NET property IsSupported.
|
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. |
static MLDsa |
ImportEncryptedPkcs8PrivateKey(java.lang.String password,
byte[] source)
Invokes the .NET member ImportEncryptedPkcs8PrivateKey.
|
static MLDsa |
ImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportEncryptedPkcs8PrivateKey.
|
static MLDsa |
ImportFromEncryptedPem(java.lang.String source,
byte[] passwordBytes)
Invokes the .NET member ImportFromEncryptedPem.
|
static MLDsa |
ImportFromEncryptedPem(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportFromEncryptedPem.
|
static MLDsa |
ImportFromEncryptedPem(java.lang.String source,
java.lang.String password)
Invokes the .NET member ImportFromEncryptedPem.
|
static MLDsa |
ImportFromPem(java.lang.String source)
Invokes the .NET member ImportFromPem.
|
static MLDsa |
ImportMLDsaPrivateKey(MLDsaAlgorithm algorithm,
byte[] source)
Invokes the .NET member ImportMLDsaPrivateKey.
|
static MLDsa |
ImportMLDsaPrivateKey(MLDsaAlgorithm dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportMLDsaPrivateKey.
|
static MLDsa |
ImportMLDsaPrivateSeed(MLDsaAlgorithm algorithm,
byte[] source)
Invokes the .NET member ImportMLDsaPrivateSeed.
|
static MLDsa |
ImportMLDsaPrivateSeed(MLDsaAlgorithm dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportMLDsaPrivateSeed.
|
static MLDsa |
ImportMLDsaPublicKey(MLDsaAlgorithm algorithm,
byte[] source)
Invokes the .NET member ImportMLDsaPublicKey.
|
static MLDsa |
ImportMLDsaPublicKey(MLDsaAlgorithm dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportMLDsaPublicKey.
|
static MLDsa |
ImportPkcs8PrivateKey(byte[] source)
Invokes the .NET member ImportPkcs8PrivateKey.
|
static MLDsa |
ImportPkcs8PrivateKey(JCORefOut dupParam0)
Invokes the .NET member ImportPkcs8PrivateKey.
|
static MLDsa |
ImportSubjectPublicKeyInfo(byte[] source)
Invokes the .NET member ImportSubjectPublicKeyInfo.
|
static MLDsa |
ImportSubjectPublicKeyInfo(JCORefOut dupParam0)
Invokes the .NET member ImportSubjectPublicKeyInfo.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
byte[] |
SignData(byte[] data,
byte[] context)
Invokes the .NET member SignData.
|
byte[] |
SignData(JCORefOut dupParam0,
JCORefOut dupParam1)
Invokes the .NET member SignData.
|
byte[] |
SignMu(byte[] externalMu)
Invokes the .NET member SignMu.
|
byte[] |
SignMu(JCORefOut dupParam0)
Invokes the .NET member SignMu.
|
byte[] |
SignPreHash(byte[] hash,
java.lang.String hashAlgorithmOid,
byte[] context)
Invokes the .NET member SignPreHash.
|
byte[] |
SignPreHash(JCORefOut dupParam0,
java.lang.String dupParam1,
JCORefOut dupParam2)
Invokes the .NET member SignPreHash.
|
boolean |
VerifyData(byte[] data,
byte[] signature,
byte[] context)
Invokes the .NET member VerifyData.
|
boolean |
VerifyData(JCORefOut dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2)
Invokes the .NET member VerifyData.
|
boolean |
VerifyMu(byte[] externalMu,
byte[] signature)
Invokes the .NET member VerifyMu.
|
boolean |
VerifyMu(JCORefOut dupParam0,
JCORefOut dupParam1)
Invokes the .NET member VerifyMu.
|
boolean |
VerifyPreHash(byte[] hash,
byte[] signature,
java.lang.String hashAlgorithmOid,
byte[] context)
Invokes the .NET member VerifyPreHash.
|
boolean |
VerifyPreHash(JCORefOut dupParam0,
JCORefOut dupParam1,
java.lang.String dupParam2,
JCORefOut dupParam3)
Invokes the .NET member VerifyPreHash.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MLDsa()
throws java.lang.Throwable
java.lang.Throwablepublic MLDsa(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 MLDsa cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MLDsa, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMLDsa instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic byte[] ExportEncryptedPkcs8PrivateKey(java.lang.String password,
PbeParameters pbeParameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException,
CryptographicException,
IndexOutOfRangeException,
AsnContentException,
OverflowException
password - the argument of type java.lang.StringpbeParameters - the argument of type PbeParametersjava.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 itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String ExportEncryptedPkcs8PrivateKeyPem(java.lang.String password,
PbeParameters pbeParameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException,
CryptographicException,
IndexOutOfRangeException,
AsnContentException,
OverflowException
password - the argument of type java.lang.StringpbeParameters - the argument of type PbeParametersjava.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 itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itOverflowException - if the .NET member raises itpublic byte[] ExportMLDsaPrivateKey()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic byte[] ExportMLDsaPrivateSeed()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic byte[] ExportMLDsaPublicKey()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic byte[] ExportPkcs8PrivateKey()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic java.lang.String ExportPkcs8PrivateKeyPem()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CryptographicException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic byte[] ExportSubjectPublicKeyInfo()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OverflowException,
IndexOutOfRangeException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic java.lang.String ExportSubjectPublicKeyInfoPem()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OverflowException,
IndexOutOfRangeException,
ArgumentNullException,
CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic static MLDsa GenerateKey(MLDsaAlgorithm algorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException
algorithm - the argument of type MLDsaAlgorithmjava.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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic MLDsaAlgorithm getAlgorithm() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getIsSupported()
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 NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static MLDsa ImportEncryptedPkcs8PrivateKey(java.lang.String password, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
password - the argument of type java.lang.Stringsource - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static MLDsa ImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
dupParam0 - the argument of type java.lang.StringdupParam1 - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static MLDsa ImportFromEncryptedPem(java.lang.String source, byte[] passwordBytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, UnreachableException
source - the argument of type java.lang.StringpasswordBytes - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic static MLDsa ImportFromEncryptedPem(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, UnreachableException
dupParam0 - the argument of type java.lang.StringdupParam1 - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic static MLDsa ImportFromEncryptedPem(java.lang.String source, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, UnreachableException
source - the argument of type java.lang.Stringpassword - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic static MLDsa ImportFromPem(java.lang.String source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, UnreachableException
source - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic static MLDsa ImportMLDsaPrivateKey(MLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
algorithm - the argument of type MLDsaAlgorithmsource - 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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static MLDsa ImportMLDsaPrivateKey(MLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
dupParam0 - the argument of type MLDsaAlgorithmdupParam1 - 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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static MLDsa ImportMLDsaPrivateSeed(MLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
algorithm - the argument of type MLDsaAlgorithmsource - 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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static MLDsa ImportMLDsaPrivateSeed(MLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
dupParam0 - the argument of type MLDsaAlgorithmdupParam1 - 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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static MLDsa ImportMLDsaPublicKey(MLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
algorithm - the argument of type MLDsaAlgorithmsource - 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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static MLDsa ImportMLDsaPublicKey(MLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
dupParam0 - the argument of type MLDsaAlgorithmdupParam1 - 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 itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static MLDsa ImportPkcs8PrivateKey(byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
source - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static MLDsa ImportPkcs8PrivateKey(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
dupParam0 - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static MLDsa ImportSubjectPublicKeyInfo(byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, MissingMethodException, TargetInvocationException
source - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static MLDsa ImportSubjectPublicKeyInfo(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, MissingMethodException, TargetInvocationException
dupParam0 - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic byte[] SignData(byte[] data,
byte[] context)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
data - the argument of type byte[]context - 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 itArgumentNullException - if the .NET member raises itpublic byte[] SignData(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException
dupParam0 - the argument of type JCORefOutdupParam1 - 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 itArgumentNullException - if the .NET member raises itpublic byte[] SignMu(byte[] externalMu)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
externalMu - 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 itArgumentNullException - if the .NET member raises itpublic byte[] SignMu(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException
dupParam0 - 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 itArgumentNullException - if the .NET member raises itpublic byte[] SignPreHash(byte[] hash,
java.lang.String hashAlgorithmOid,
byte[] context)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException,
IndexOutOfRangeException,
CryptographicException,
FormatException
hash - the argument of type byte[]hashAlgorithmOid - the argument of type java.lang.Stringcontext - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itFormatException - if the .NET member raises itpublic byte[] SignPreHash(JCORefOut dupParam0, java.lang.String dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, FormatException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type java.lang.StringdupParam2 - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean VerifyData(byte[] data,
byte[] signature,
byte[] context)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
data - the argument of type byte[]signature - the argument of type byte[]context - 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 itArgumentNullException - if the .NET member raises itpublic boolean VerifyData(JCORefOut dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException
dupParam0 - the argument of type JCORefOutdupParam1 - 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 itArgumentNullException - if the .NET member raises itpublic boolean VerifyMu(byte[] externalMu,
byte[] signature)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
externalMu - the argument of type byte[]signature - 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 itArgumentNullException - if the .NET member raises itpublic boolean VerifyMu(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException
dupParam0 - the argument of type JCORefOutdupParam1 - 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 itArgumentNullException - if the .NET member raises itpublic boolean VerifyPreHash(byte[] hash,
byte[] signature,
java.lang.String hashAlgorithmOid,
byte[] context)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException,
IndexOutOfRangeException,
CryptographicException
hash - the argument of type byte[]signature - the argument of type byte[]hashAlgorithmOid - the argument of type java.lang.Stringcontext - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic boolean VerifyPreHash(JCORefOut dupParam0, JCORefOut dupParam1, java.lang.String dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, CryptographicException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type java.lang.StringdupParam3 - 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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises it