public class MLKem extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.MLKem
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.MLKem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MLKem() |
MLKem(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MLKem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MLKem, a cast assert is made to check if types are compatible. |
void |
close() |
byte[] |
Decapsulate(byte[] ciphertext)
Invokes the .NET member Decapsulate.
|
byte[] |
Decapsulate(JCORefOut dupParam0)
Invokes the .NET member Decapsulate.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
void |
Encapsulate(JCORefOut ciphertext,
JCORefOut sharedSecret)
Invokes the .NET member Encapsulate.
|
byte[] |
ExportDecapsulationKey()
Invokes the .NET member ExportDecapsulationKey.
|
byte[] |
ExportEncapsulationKey()
Invokes the .NET member ExportEncapsulationKey.
|
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[] |
ExportPkcs8PrivateKey()
Invokes the .NET member ExportPkcs8PrivateKey.
|
java.lang.String |
ExportPkcs8PrivateKeyPem()
Invokes the .NET member ExportPkcs8PrivateKeyPem.
|
byte[] |
ExportPrivateSeed()
Invokes the .NET member ExportPrivateSeed.
|
byte[] |
ExportSubjectPublicKeyInfo()
Invokes the .NET member ExportSubjectPublicKeyInfo.
|
java.lang.String |
ExportSubjectPublicKeyInfoPem()
Invokes the .NET member ExportSubjectPublicKeyInfoPem.
|
static MLKem |
GenerateKey(MLKemAlgorithm algorithm)
Invokes the .NET member GenerateKey.
|
MLKemAlgorithm |
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 MLKem |
ImportDecapsulationKey(MLKemAlgorithm algorithm,
byte[] source)
Invokes the .NET member ImportDecapsulationKey.
|
static MLKem |
ImportDecapsulationKey(MLKemAlgorithm dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportDecapsulationKey.
|
static MLKem |
ImportEncapsulationKey(MLKemAlgorithm algorithm,
byte[] source)
Invokes the .NET member ImportEncapsulationKey.
|
static MLKem |
ImportEncapsulationKey(MLKemAlgorithm dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportEncapsulationKey.
|
static MLKem |
ImportEncryptedPkcs8PrivateKey(java.lang.String password,
byte[] source)
Invokes the .NET member ImportEncryptedPkcs8PrivateKey.
|
static MLKem |
ImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportEncryptedPkcs8PrivateKey.
|
static MLKem |
ImportFromEncryptedPem(java.lang.String source,
byte[] passwordBytes)
Invokes the .NET member ImportFromEncryptedPem.
|
static MLKem |
ImportFromEncryptedPem(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportFromEncryptedPem.
|
static MLKem |
ImportFromEncryptedPem(java.lang.String source,
java.lang.String password)
Invokes the .NET member ImportFromEncryptedPem.
|
static MLKem |
ImportFromPem(java.lang.String source)
Invokes the .NET member ImportFromPem.
|
static MLKem |
ImportPkcs8PrivateKey(byte[] source)
Invokes the .NET member ImportPkcs8PrivateKey.
|
static MLKem |
ImportPkcs8PrivateKey(JCORefOut dupParam0)
Invokes the .NET member ImportPkcs8PrivateKey.
|
static MLKem |
ImportPrivateSeed(MLKemAlgorithm algorithm,
byte[] source)
Invokes the .NET member ImportPrivateSeed.
|
static MLKem |
ImportPrivateSeed(MLKemAlgorithm dupParam0,
JCORefOut dupParam1)
Invokes the .NET member ImportPrivateSeed.
|
static MLKem |
ImportSubjectPublicKeyInfo(byte[] source)
Invokes the .NET member ImportSubjectPublicKeyInfo.
|
static MLKem |
ImportSubjectPublicKeyInfo(JCORefOut dupParam0)
Invokes the .NET member ImportSubjectPublicKeyInfo.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MLKem()
throws java.lang.Throwable
java.lang.Throwablepublic MLKem(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 MLKem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MLKem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMLKem instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic byte[] Decapsulate(byte[] ciphertext)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
ciphertext - 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[] Decapsulate(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 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 void Encapsulate(JCORefOut ciphertext, JCORefOut sharedSecret) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, ArrayTypeMismatchException
ciphertext - the argument of type JCORefOutsharedSecret - the argument of type JCORefOutjava.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[] ExportDecapsulationKey()
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[] ExportEncapsulationKey()
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[] ExportEncryptedPkcs8PrivateKey(java.lang.String password,
PbeParameters pbeParameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException,
CryptographicException,
IndexOutOfRangeException,
OverflowException,
AsnContentException
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 itOverflowException - if the .NET member raises itAsnContentException - 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,
OverflowException,
AsnContentException
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 itOverflowException - if the .NET member raises itAsnContentException - 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[] ExportPrivateSeed()
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[] ExportSubjectPublicKeyInfo()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OverflowException,
CryptographicException,
AsnContentException
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 itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic java.lang.String ExportSubjectPublicKeyInfoPem()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OverflowException,
CryptographicException,
AsnContentException,
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 itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static MLKem GenerateKey(MLKemAlgorithm algorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException
algorithm - the argument of type MLKemAlgorithmjava.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 MLKemAlgorithm 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 MLKem ImportDecapsulationKey(MLKemAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException
algorithm - the argument of type MLKemAlgorithmsource - 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 itpublic static MLKem ImportDecapsulationKey(MLKemAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException
dupParam0 - the argument of type MLKemAlgorithmdupParam1 - 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 itpublic static MLKem ImportEncapsulationKey(MLKemAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException
algorithm - the argument of type MLKemAlgorithmsource - 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 itpublic static MLKem ImportEncapsulationKey(MLKemAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException
dupParam0 - the argument of type MLKemAlgorithmdupParam1 - 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 itpublic static MLKem 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 MLKem 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 MLKem 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 MLKem 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 MLKem 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 MLKem 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 MLKem 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 MLKem 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 MLKem ImportPrivateSeed(MLKemAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException
algorithm - the argument of type MLKemAlgorithmsource - 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 itpublic static MLKem ImportPrivateSeed(MLKemAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException
dupParam0 - the argument of type MLKemAlgorithmdupParam1 - 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 itpublic static MLKem ImportSubjectPublicKeyInfo(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 MLKem ImportSubjectPublicKeyInfo(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 void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object