Package system.security.cryptography
Class MLDsa
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.MLDsa
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
- Direct Known Subclasses:
MLDsaCng,MLDsaOpenSsl
public class MLDsa extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Security.Cryptography.MLDsa, System.Security.Cryptography, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.MLDsa
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Security.Cryptography, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Security.Cryptographystatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.MLDsastatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MLDsacast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMLDsa, a cast assert is made to check if types are compatible.voidclose()voidDispose()byte[]ExportEncryptedPkcs8PrivateKey(java.lang.String password, PbeParameters pbeParameters)java.lang.StringExportEncryptedPkcs8PrivateKeyPem(java.lang.String password, PbeParameters pbeParameters)byte[]ExportMLDsaPrivateKey()byte[]ExportMLDsaPrivateSeed()byte[]ExportMLDsaPublicKey()byte[]ExportPkcs8PrivateKey()java.lang.StringExportPkcs8PrivateKeyPem()byte[]ExportSubjectPublicKeyInfo()java.lang.StringExportSubjectPublicKeyInfoPem()static MLDsaGenerateKey(MLDsaAlgorithm algorithm)MLDsaAlgorithmgetAlgorithm()static booleangetIsSupported()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typestatic MLDsaImportEncryptedPkcs8PrivateKey(java.lang.String password, byte[] source)static MLDsaImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0, JCORefOut dupParam1)static MLDsaImportFromEncryptedPem(java.lang.String source, byte[] passwordBytes)static MLDsaImportFromEncryptedPem(java.lang.String source, java.lang.String password)static MLDsaImportFromEncryptedPem(java.lang.String dupParam0, JCORefOut dupParam1)static MLDsaImportFromPem(java.lang.String source)static MLDsaImportMLDsaPrivateKey(MLDsaAlgorithm algorithm, byte[] source)static MLDsaImportMLDsaPrivateKey(MLDsaAlgorithm dupParam0, JCORefOut dupParam1)static MLDsaImportMLDsaPrivateSeed(MLDsaAlgorithm algorithm, byte[] source)static MLDsaImportMLDsaPrivateSeed(MLDsaAlgorithm dupParam0, JCORefOut dupParam1)static MLDsaImportMLDsaPublicKey(MLDsaAlgorithm algorithm, byte[] source)static MLDsaImportMLDsaPublicKey(MLDsaAlgorithm dupParam0, JCORefOut dupParam1)static MLDsaImportPkcs8PrivateKey(byte[] source)static MLDsaImportPkcs8PrivateKey(JCORefOut dupParam0)static MLDsaImportSubjectPublicKeyInfo(byte[] source)static MLDsaImportSubjectPublicKeyInfo(JCORefOut dupParam0)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)byte[]SignData(byte[] data, byte[] context)byte[]SignData(JCORefOut dupParam0, JCORefOut dupParam1)byte[]SignMu(byte[] externalMu)byte[]SignMu(JCORefOut dupParam0)byte[]SignPreHash(byte[] hash, java.lang.String hashAlgorithmOid, byte[] context)byte[]SignPreHash(JCORefOut dupParam0, java.lang.String dupParam1, JCORefOut dupParam2)booleanVerifyData(byte[] data, byte[] signature, byte[] context)booleanVerifyData(JCORefOut dupParam0, JCORefOut dupParam1, JCORefOut dupParam2)booleanVerifyMu(byte[] externalMu, byte[] signature)booleanVerifyMu(JCORefOut dupParam0, JCORefOut dupParam1)booleanVerifyPreHash(byte[] hash, byte[] signature, java.lang.String hashAlgorithmOid, byte[] context)booleanVerifyPreHash(JCORefOut dupParam0, JCORefOut dupParam1, java.lang.String dupParam2, JCORefOut dupParam3)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security.Cryptography- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.MLDsa- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static MLDsa cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMLDsa, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
MLDsainstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
VerifyData
public boolean VerifyData(byte[] data, byte[] signature, byte[] context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
VerifyData
public boolean VerifyData(JCORefOut dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
VerifyMu
public boolean VerifyMu(byte[] externalMu, byte[] signature) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
VerifyMu
public boolean VerifyMu(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
VerifyPreHash
public boolean VerifyPreHash(byte[] hash, byte[] signature, java.lang.String hashAlgorithmOid, byte[] context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException
-
VerifyPreHash
public boolean VerifyPreHash(JCORefOut dupParam0, JCORefOut dupParam1, java.lang.String dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException
-
ExportEncryptedPkcs8PrivateKey
public byte[] ExportEncryptedPkcs8PrivateKey(java.lang.String password, PbeParameters pbeParameters) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, AsnContentException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionOverflowException
-
ExportMLDsaPrivateKey
public byte[] ExportMLDsaPrivateKey() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException
-
ExportMLDsaPrivateSeed
public byte[] ExportMLDsaPrivateSeed() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException
-
ExportMLDsaPublicKey
public byte[] ExportMLDsaPublicKey() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException
-
ExportPkcs8PrivateKey
public byte[] ExportPkcs8PrivateKey() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException, CryptographicException
-
ExportSubjectPublicKeyInfo
public byte[] ExportSubjectPublicKeyInfo() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException, OverflowException, IndexOutOfRangeException, ArgumentNullException
-
SignData
public byte[] SignData(byte[] data, byte[] context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
SignData
public byte[] SignData(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
SignMu
public byte[] SignMu(byte[] externalMu) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
SignMu
public byte[] SignMu(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
SignPreHash
public byte[] SignPreHash(byte[] hash, java.lang.String hashAlgorithmOid, byte[] context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCryptographicExceptionFormatException
-
SignPreHash
public byte[] SignPreHash(JCORefOut dupParam0, java.lang.String dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCryptographicExceptionFormatException
-
GenerateKey
public static MLDsa GenerateKey(MLDsaAlgorithm algorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatException
-
ImportEncryptedPkcs8PrivateKey
public static MLDsa ImportEncryptedPkcs8PrivateKey(java.lang.String password, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowException
-
ImportEncryptedPkcs8PrivateKey
public static MLDsa ImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowException
-
ImportFromEncryptedPem
public static MLDsa ImportFromEncryptedPem(java.lang.String source, byte[] passwordBytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowException
-
ImportFromEncryptedPem
public static MLDsa ImportFromEncryptedPem(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowException
-
ImportFromEncryptedPem
public static MLDsa ImportFromEncryptedPem(java.lang.String source, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowException
-
ImportFromPem
public static MLDsa ImportFromPem(java.lang.String source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowException
-
ImportMLDsaPrivateKey
public static MLDsa ImportMLDsaPrivateKey(MLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionIndexOutOfRangeException
-
ImportMLDsaPrivateKey
public static MLDsa ImportMLDsaPrivateKey(MLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionIndexOutOfRangeException
-
ImportMLDsaPrivateSeed
public static MLDsa ImportMLDsaPrivateSeed(MLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionIndexOutOfRangeException
-
ImportMLDsaPrivateSeed
public static MLDsa ImportMLDsaPrivateSeed(MLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionIndexOutOfRangeException
-
ImportMLDsaPublicKey
public static MLDsa ImportMLDsaPublicKey(MLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionIndexOutOfRangeException
-
ImportMLDsaPublicKey
public static MLDsa ImportMLDsaPublicKey(MLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionIndexOutOfRangeException
-
ImportPkcs8PrivateKey
public static MLDsa ImportPkcs8PrivateKey(byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicException
-
ImportPkcs8PrivateKey
public static MLDsa ImportPkcs8PrivateKey(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicException
-
ImportSubjectPublicKeyInfo
public static MLDsa ImportSubjectPublicKeyInfo(byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
ImportSubjectPublicKeyInfo
public static MLDsa ImportSubjectPublicKeyInfo(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
ExportEncryptedPkcs8PrivateKeyPem
public java.lang.String ExportEncryptedPkcs8PrivateKeyPem(java.lang.String password, PbeParameters pbeParameters) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, AsnContentException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionOverflowException
-
ExportPkcs8PrivateKeyPem
public java.lang.String ExportPkcs8PrivateKeyPem() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, CryptographicException, ArgumentNullException, ArrayTypeMismatchException
-
ExportSubjectPublicKeyInfoPem
public java.lang.String ExportSubjectPublicKeyInfoPem() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException, OverflowException, IndexOutOfRangeException, ArgumentNullException, CryptographicException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getIsSupported
public static boolean getIsSupported() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAlgorithm
public MLDsaAlgorithm getAlgorithm() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-