Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.crypto.rsa
- Platforms: .NET, .NET Standard 2.0, Island
DecryptOAEP
// .NET, .NET Standard 2.0
class method DecryptOAEP(hash: Hash; random: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method DecryptOAEP(hash: Hash; random: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) DecryptOAEP(Hash hash, Reader random, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> label)
// Island
static (Slice<Byte>, error) DecryptOAEP(Hash hash, Reader random, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> label)
// .NET, .NET Standard 2.0
static func DecryptOAEP(_ hash: Hash, _ random: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func DecryptOAEP(_ hash: Hash, _ random: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func DecryptOAEP(hash Hash, random Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func DecryptOAEP(hash Hash, random Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function DecryptOAEP(hash As Hash, random As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function DecryptOAEP(hash As Hash, random As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- hash:
- random:
- priv:
- ciphertext:
- label:
DecryptPKCS1v15
// .NET, .NET Standard 2.0
class method DecryptPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method DecryptPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) DecryptPKCS1v15(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext)
// Island
static (Slice<Byte>, error) DecryptPKCS1v15(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext)
// .NET, .NET Standard 2.0
static func DecryptPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func DecryptPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func DecryptPKCS1v15(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func DecryptPKCS1v15(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function DecryptPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function DecryptPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- priv:
- ciphertext:
DecryptPKCS1v15SessionKey
// .NET, .NET Standard 2.0
class method DecryptPKCS1v15SessionKey(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; key: Slice<Byte>): error
// Island
class method DecryptPKCS1v15SessionKey(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; key: Slice<Byte>): error
// .NET, .NET Standard 2.0
static error DecryptPKCS1v15SessionKey(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> key)
// Island
static error DecryptPKCS1v15SessionKey(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> key)
// .NET, .NET Standard 2.0
static func DecryptPKCS1v15SessionKey(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ key: Slice<Byte>) -> error
// Island
static func DecryptPKCS1v15SessionKey(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ key: Slice<Byte>) -> error
// .NET, .NET Standard 2.0
func DecryptPKCS1v15SessionKey(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, key Slice<Byte>) error
// Island
func DecryptPKCS1v15SessionKey(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, key Slice<Byte>) error
// .NET, .NET Standard 2.0
Shared Function DecryptPKCS1v15SessionKey(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, key As Slice<Byte>) As error
// Island
Shared Function DecryptPKCS1v15SessionKey(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, key As Slice<Byte>) As error
Parameters:
- rand:
- priv:
- ciphertext:
- key:
EncryptOAEP
// .NET, .NET Standard 2.0
class method EncryptOAEP(hash: Hash; random: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method EncryptOAEP(hash: Hash; random: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) EncryptOAEP(Hash hash, Reader random, Memory<PublicKey> pub, Slice<Byte> msg, Slice<Byte> label)
// Island
static (Slice<Byte>, error) EncryptOAEP(Hash hash, Reader random, Memory<PublicKey> pub, Slice<Byte> msg, Slice<Byte> label)
// .NET, .NET Standard 2.0
static func EncryptOAEP(_ hash: Hash, _ random: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func EncryptOAEP(_ hash: Hash, _ random: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func EncryptOAEP(hash Hash, random Reader, pub Memory<PublicKey>, msg Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func EncryptOAEP(hash Hash, random Reader, pub Memory<PublicKey>, msg Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function EncryptOAEP(hash As Hash, random As Reader, pub As Memory<PublicKey>, msg As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function EncryptOAEP(hash As Hash, random As Reader, pub As Memory<PublicKey>, msg As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- hash:
- random:
- pub:
- msg:
- label:
EncryptPKCS1v15
// .NET, .NET Standard 2.0
class method EncryptPKCS1v15(rand: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method EncryptPKCS1v15(rand: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) EncryptPKCS1v15(Reader rand, Memory<PublicKey> pub, Slice<Byte> msg)
// Island
static (Slice<Byte>, error) EncryptPKCS1v15(Reader rand, Memory<PublicKey> pub, Slice<Byte> msg)
// .NET, .NET Standard 2.0
static func EncryptPKCS1v15(_ rand: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func EncryptPKCS1v15(_ rand: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>) -> (Slice<Byte>, error)
Parameters:
- rand:
- pub:
- msg:
ErrDecryption
class var ErrDecryption: error;
static error ErrDecryption
static var ErrDecryption: error
ErrDecryption error
Shared FIELD ErrDecryption() As error
ErrMessageTooLong
class var ErrMessageTooLong: error;
static error ErrMessageTooLong
static var ErrMessageTooLong: error
ErrMessageTooLong error
Shared FIELD ErrMessageTooLong() As error
ErrVerification
class var ErrVerification: error;
static error ErrVerification
static var ErrVerification: error
ErrVerification error
Shared FIELD ErrVerification() As error
GenerateKey
// .NET, .NET Standard 2.0
class method GenerateKey(random: Reader; bits: int): tuple of (Memory<PrivateKey>, error)
// Island
class method GenerateKey(random: Reader; bits: int): tuple of (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
static (Memory<PrivateKey>, error) GenerateKey(Reader random, int bits)
// Island
static (Memory<PrivateKey>, error) GenerateKey(Reader random, int bits)
// .NET, .NET Standard 2.0
static func GenerateKey(_ random: Reader, _ bits: int) -> (Memory<PrivateKey>, error)
// Island
static func GenerateKey(_ random: Reader, _ bits: int) -> (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
func GenerateKey(random Reader, bits int) tuple of (Memory<PrivateKey>, error)
// Island
func GenerateKey(random Reader, bits int) tuple of (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
Shared Function GenerateKey(random As Reader, bits As int) As Tuple (Of Memory<PrivateKey>, error)
// Island
Shared Function GenerateKey(random As Reader, bits As int) As Tuple (Of Memory<PrivateKey>, error)
Parameters:
- random:
- bits:
GenerateMultiPrimeKey
// .NET, .NET Standard 2.0
class method GenerateMultiPrimeKey(random: Reader; nprimes: int; bits: int): tuple of (Memory<PrivateKey>, error)
// Island
class method GenerateMultiPrimeKey(random: Reader; nprimes: int; bits: int): tuple of (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
static (Memory<PrivateKey>, error) GenerateMultiPrimeKey(Reader random, int nprimes, int bits)
// Island
static (Memory<PrivateKey>, error) GenerateMultiPrimeKey(Reader random, int nprimes, int bits)
// .NET, .NET Standard 2.0
static func GenerateMultiPrimeKey(_ random: Reader, _ nprimes: int, _ bits: int) -> (Memory<PrivateKey>, error)
// Island
static func GenerateMultiPrimeKey(_ random: Reader, _ nprimes: int, _ bits: int) -> (Memory<PrivateKey>, error)
Parameters:
- random:
- nprimes:
- bits:
PSSSaltLengthAuto
const PSSSaltLengthAuto: Int64 = 0;
const Int64 PSSSaltLengthAuto = 0
static let PSSSaltLengthAuto: Int64 = 0
const PSSSaltLengthAuto Int64 = 0
Dim PSSSaltLengthAuto As Int64 = 0
PSSSaltLengthEqualsHash
const PSSSaltLengthEqualsHash: Int64 = -1;
const Int64 PSSSaltLengthEqualsHash = -1
static let PSSSaltLengthEqualsHash: Int64 = -1
const PSSSaltLengthEqualsHash Int64 = -1
Dim PSSSaltLengthEqualsHash As Int64 = -1
SignPKCS1v15
// .NET, .NET Standard 2.0
class method SignPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method SignPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) SignPKCS1v15(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed)
// Island
static (Slice<Byte>, error) SignPKCS1v15(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed)
// .NET, .NET Standard 2.0
static func SignPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func SignPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func SignPKCS1v15(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func SignPKCS1v15(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function SignPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function SignPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- priv:
- hash:
- hashed:
SignPSS
// .NET, .NET Standard 2.0
class method SignPSS(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>; opts: Memory<PSSOptions>): tuple of (Slice<Byte>, error)
// Island
class method SignPSS(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>; opts: Memory<PSSOptions>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) SignPSS(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed, Memory<PSSOptions> opts)
// Island
static (Slice<Byte>, error) SignPSS(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed, Memory<PSSOptions> opts)
// .NET, .NET Standard 2.0
static func SignPSS(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ opts: Memory<PSSOptions>) -> (Slice<Byte>, error)
// Island
static func SignPSS(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ opts: Memory<PSSOptions>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func SignPSS(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>, opts Memory<PSSOptions>) tuple of (Slice<Byte>, error)
// Island
func SignPSS(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>, opts Memory<PSSOptions>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function SignPSS(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>, opts As Memory<PSSOptions>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function SignPSS(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>, opts As Memory<PSSOptions>) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- priv:
- hash:
- hashed:
- opts:
VerifyPKCS1v15
// .NET, .NET Standard 2.0
class method VerifyPKCS1v15(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>): error
// Island
class method VerifyPKCS1v15(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>): error
// .NET, .NET Standard 2.0
static error VerifyPKCS1v15(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig)
// Island
static error VerifyPKCS1v15(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig)
// .NET, .NET Standard 2.0
static func VerifyPKCS1v15(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>) -> error
// Island
static func VerifyPKCS1v15(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>) -> error
Parameters:
- pub:
- hash:
- hashed:
- sig:
VerifyPSS
// .NET, .NET Standard 2.0
class method VerifyPSS(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>; opts: Memory<PSSOptions>): error
// Island
class method VerifyPSS(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>; opts: Memory<PSSOptions>): error
// .NET, .NET Standard 2.0
static error VerifyPSS(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig, Memory<PSSOptions> opts)
// Island
static error VerifyPSS(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig, Memory<PSSOptions> opts)
// .NET, .NET Standard 2.0
static func VerifyPSS(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>, _ opts: Memory<PSSOptions>) -> error
// Island
static func VerifyPSS(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>, _ opts: Memory<PSSOptions>) -> error
// .NET, .NET Standard 2.0
func VerifyPSS(pub Memory<PublicKey>, hash Hash, hashed Slice<Byte>, sig Slice<Byte>, opts Memory<PSSOptions>) error
// Island
func VerifyPSS(pub Memory<PublicKey>, hash Hash, hashed Slice<Byte>, sig Slice<Byte>, opts Memory<PSSOptions>) error
// .NET, .NET Standard 2.0
Shared Function VerifyPSS(pub As Memory<PublicKey>, hash As Hash, hashed As Slice<Byte>, sig As Slice<Byte>, opts As Memory<PSSOptions>) As error
// Island
Shared Function VerifyPSS(pub As Memory<PublicKey>, hash As Hash, hashed As Slice<Byte>, sig As Slice<Byte>, opts As Memory<PSSOptions>) As error
Parameters:
- pub:
- hash:
- hashed:
- sig:
- opts:
PSSSaltLengthAuto
const PSSSaltLengthAuto: Int64 = 0;
const Int64 PSSSaltLengthAuto = 0
static let PSSSaltLengthAuto: Int64 = 0
const PSSSaltLengthAuto Int64 = 0
Dim PSSSaltLengthAuto As Int64 = 0
PSSSaltLengthEqualsHash
ErrDecryption
class var ErrDecryption: error;
static error ErrDecryption
static var ErrDecryption: error
ErrDecryption error
Shared FIELD ErrDecryption() As error
ErrMessageTooLong
class var ErrMessageTooLong: error;
static error ErrMessageTooLong
static var ErrMessageTooLong: error
ErrMessageTooLong error
Shared FIELD ErrMessageTooLong() As error
ErrVerification
DecryptOAEP
// .NET, .NET Standard 2.0
class method DecryptOAEP(hash: Hash; random: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method DecryptOAEP(hash: Hash; random: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) DecryptOAEP(Hash hash, Reader random, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> label)
// Island
static (Slice<Byte>, error) DecryptOAEP(Hash hash, Reader random, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> label)
// .NET, .NET Standard 2.0
static func DecryptOAEP(_ hash: Hash, _ random: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func DecryptOAEP(_ hash: Hash, _ random: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func DecryptOAEP(hash Hash, random Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func DecryptOAEP(hash Hash, random Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function DecryptOAEP(hash As Hash, random As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function DecryptOAEP(hash As Hash, random As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- hash:
- random:
- priv:
- ciphertext:
- label:
DecryptPKCS1v15
// .NET, .NET Standard 2.0
class method DecryptPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method DecryptPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) DecryptPKCS1v15(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext)
// Island
static (Slice<Byte>, error) DecryptPKCS1v15(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext)
// .NET, .NET Standard 2.0
static func DecryptPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func DecryptPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func DecryptPKCS1v15(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func DecryptPKCS1v15(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function DecryptPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function DecryptPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- priv:
- ciphertext:
DecryptPKCS1v15SessionKey
// .NET, .NET Standard 2.0
class method DecryptPKCS1v15SessionKey(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; key: Slice<Byte>): error
// Island
class method DecryptPKCS1v15SessionKey(rand: Reader; priv: Memory<PrivateKey>; ciphertext: Slice<Byte>; key: Slice<Byte>): error
// .NET, .NET Standard 2.0
static error DecryptPKCS1v15SessionKey(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> key)
// Island
static error DecryptPKCS1v15SessionKey(Reader rand, Memory<PrivateKey> priv, Slice<Byte> ciphertext, Slice<Byte> key)
// .NET, .NET Standard 2.0
static func DecryptPKCS1v15SessionKey(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ key: Slice<Byte>) -> error
// Island
static func DecryptPKCS1v15SessionKey(_ rand: Reader, _ priv: Memory<PrivateKey>, _ ciphertext: Slice<Byte>, _ key: Slice<Byte>) -> error
// .NET, .NET Standard 2.0
func DecryptPKCS1v15SessionKey(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, key Slice<Byte>) error
// Island
func DecryptPKCS1v15SessionKey(rand Reader, priv Memory<PrivateKey>, ciphertext Slice<Byte>, key Slice<Byte>) error
// .NET, .NET Standard 2.0
Shared Function DecryptPKCS1v15SessionKey(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, key As Slice<Byte>) As error
// Island
Shared Function DecryptPKCS1v15SessionKey(rand As Reader, priv As Memory<PrivateKey>, ciphertext As Slice<Byte>, key As Slice<Byte>) As error
Parameters:
- rand:
- priv:
- ciphertext:
- key:
EncryptOAEP
// .NET, .NET Standard 2.0
class method EncryptOAEP(hash: Hash; random: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method EncryptOAEP(hash: Hash; random: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>; label: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) EncryptOAEP(Hash hash, Reader random, Memory<PublicKey> pub, Slice<Byte> msg, Slice<Byte> label)
// Island
static (Slice<Byte>, error) EncryptOAEP(Hash hash, Reader random, Memory<PublicKey> pub, Slice<Byte> msg, Slice<Byte> label)
// .NET, .NET Standard 2.0
static func EncryptOAEP(_ hash: Hash, _ random: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func EncryptOAEP(_ hash: Hash, _ random: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>, _ label: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func EncryptOAEP(hash Hash, random Reader, pub Memory<PublicKey>, msg Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func EncryptOAEP(hash Hash, random Reader, pub Memory<PublicKey>, msg Slice<Byte>, label Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function EncryptOAEP(hash As Hash, random As Reader, pub As Memory<PublicKey>, msg As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function EncryptOAEP(hash As Hash, random As Reader, pub As Memory<PublicKey>, msg As Slice<Byte>, label As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- hash:
- random:
- pub:
- msg:
- label:
EncryptPKCS1v15
// .NET, .NET Standard 2.0
class method EncryptPKCS1v15(rand: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method EncryptPKCS1v15(rand: Reader; pub: Memory<PublicKey>; msg: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) EncryptPKCS1v15(Reader rand, Memory<PublicKey> pub, Slice<Byte> msg)
// Island
static (Slice<Byte>, error) EncryptPKCS1v15(Reader rand, Memory<PublicKey> pub, Slice<Byte> msg)
// .NET, .NET Standard 2.0
static func EncryptPKCS1v15(_ rand: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func EncryptPKCS1v15(_ rand: Reader, _ pub: Memory<PublicKey>, _ msg: Slice<Byte>) -> (Slice<Byte>, error)
Parameters:
- rand:
- pub:
- msg:
GenerateKey
// .NET, .NET Standard 2.0
class method GenerateKey(random: Reader; bits: int): tuple of (Memory<PrivateKey>, error)
// Island
class method GenerateKey(random: Reader; bits: int): tuple of (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
static (Memory<PrivateKey>, error) GenerateKey(Reader random, int bits)
// Island
static (Memory<PrivateKey>, error) GenerateKey(Reader random, int bits)
// .NET, .NET Standard 2.0
static func GenerateKey(_ random: Reader, _ bits: int) -> (Memory<PrivateKey>, error)
// Island
static func GenerateKey(_ random: Reader, _ bits: int) -> (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
func GenerateKey(random Reader, bits int) tuple of (Memory<PrivateKey>, error)
// Island
func GenerateKey(random Reader, bits int) tuple of (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
Shared Function GenerateKey(random As Reader, bits As int) As Tuple (Of Memory<PrivateKey>, error)
// Island
Shared Function GenerateKey(random As Reader, bits As int) As Tuple (Of Memory<PrivateKey>, error)
Parameters:
- random:
- bits:
GenerateMultiPrimeKey
// .NET, .NET Standard 2.0
class method GenerateMultiPrimeKey(random: Reader; nprimes: int; bits: int): tuple of (Memory<PrivateKey>, error)
// Island
class method GenerateMultiPrimeKey(random: Reader; nprimes: int; bits: int): tuple of (Memory<PrivateKey>, error)
// .NET, .NET Standard 2.0
static (Memory<PrivateKey>, error) GenerateMultiPrimeKey(Reader random, int nprimes, int bits)
// Island
static (Memory<PrivateKey>, error) GenerateMultiPrimeKey(Reader random, int nprimes, int bits)
// .NET, .NET Standard 2.0
static func GenerateMultiPrimeKey(_ random: Reader, _ nprimes: int, _ bits: int) -> (Memory<PrivateKey>, error)
// Island
static func GenerateMultiPrimeKey(_ random: Reader, _ nprimes: int, _ bits: int) -> (Memory<PrivateKey>, error)
Parameters:
- random:
- nprimes:
- bits:
SignPKCS1v15
// .NET, .NET Standard 2.0
class method SignPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>): tuple of (Slice<Byte>, error)
// Island
class method SignPKCS1v15(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) SignPKCS1v15(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed)
// Island
static (Slice<Byte>, error) SignPKCS1v15(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed)
// .NET, .NET Standard 2.0
static func SignPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>) -> (Slice<Byte>, error)
// Island
static func SignPKCS1v15(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func SignPKCS1v15(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>) tuple of (Slice<Byte>, error)
// Island
func SignPKCS1v15(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function SignPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function SignPKCS1v15(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- priv:
- hash:
- hashed:
SignPSS
// .NET, .NET Standard 2.0
class method SignPSS(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>; opts: Memory<PSSOptions>): tuple of (Slice<Byte>, error)
// Island
class method SignPSS(rand: Reader; priv: Memory<PrivateKey>; hash: Hash; hashed: Slice<Byte>; opts: Memory<PSSOptions>): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
static (Slice<Byte>, error) SignPSS(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed, Memory<PSSOptions> opts)
// Island
static (Slice<Byte>, error) SignPSS(Reader rand, Memory<PrivateKey> priv, Hash hash, Slice<Byte> hashed, Memory<PSSOptions> opts)
// .NET, .NET Standard 2.0
static func SignPSS(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ opts: Memory<PSSOptions>) -> (Slice<Byte>, error)
// Island
static func SignPSS(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ opts: Memory<PSSOptions>) -> (Slice<Byte>, error)
// .NET, .NET Standard 2.0
func SignPSS(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>, opts Memory<PSSOptions>) tuple of (Slice<Byte>, error)
// Island
func SignPSS(rand Reader, priv Memory<PrivateKey>, hash Hash, hashed Slice<Byte>, opts Memory<PSSOptions>) tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
Shared Function SignPSS(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>, opts As Memory<PSSOptions>) As Tuple (Of Slice<Byte>, error)
// Island
Shared Function SignPSS(rand As Reader, priv As Memory<PrivateKey>, hash As Hash, hashed As Slice<Byte>, opts As Memory<PSSOptions>) As Tuple (Of Slice<Byte>, error)
Parameters:
- rand:
- priv:
- hash:
- hashed:
- opts:
VerifyPKCS1v15
// .NET, .NET Standard 2.0
class method VerifyPKCS1v15(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>): error
// Island
class method VerifyPKCS1v15(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>): error
// .NET, .NET Standard 2.0
static error VerifyPKCS1v15(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig)
// Island
static error VerifyPKCS1v15(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig)
// .NET, .NET Standard 2.0
static func VerifyPKCS1v15(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>) -> error
// Island
static func VerifyPKCS1v15(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>) -> error
Parameters:
- pub:
- hash:
- hashed:
- sig:
VerifyPSS
// .NET, .NET Standard 2.0
class method VerifyPSS(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>; opts: Memory<PSSOptions>): error
// Island
class method VerifyPSS(pub: Memory<PublicKey>; hash: Hash; hashed: Slice<Byte>; sig: Slice<Byte>; opts: Memory<PSSOptions>): error
// .NET, .NET Standard 2.0
static error VerifyPSS(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig, Memory<PSSOptions> opts)
// Island
static error VerifyPSS(Memory<PublicKey> pub, Hash hash, Slice<Byte> hashed, Slice<Byte> sig, Memory<PSSOptions> opts)
// .NET, .NET Standard 2.0
static func VerifyPSS(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>, _ opts: Memory<PSSOptions>) -> error
// Island
static func VerifyPSS(_ pub: Memory<PublicKey>, _ hash: Hash, _ hashed: Slice<Byte>, _ sig: Slice<Byte>, _ opts: Memory<PSSOptions>) -> error
// .NET, .NET Standard 2.0
func VerifyPSS(pub Memory<PublicKey>, hash Hash, hashed Slice<Byte>, sig Slice<Byte>, opts Memory<PSSOptions>) error
// Island
func VerifyPSS(pub Memory<PublicKey>, hash Hash, hashed Slice<Byte>, sig Slice<Byte>, opts Memory<PSSOptions>) error
// .NET, .NET Standard 2.0
Shared Function VerifyPSS(pub As Memory<PublicKey>, hash As Hash, hashed As Slice<Byte>, sig As Slice<Byte>, opts As Memory<PSSOptions>) As error
// Island
Shared Function VerifyPSS(pub As Memory<PublicKey>, hash As Hash, hashed As Slice<Byte>, sig As Slice<Byte>, opts As Memory<PSSOptions>) As error
Parameters:
- pub:
- hash:
- hashed:
- sig:
- opts: