SignatureFactory

Create java.security.Signature implementations for SignerFactory

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(algorithm: String, privateKey: PrivateKey, publicKey: PublicKey): SignerFactory

Creates a signature factory for the specified algorithm using the specified private and public keys.

Creates a signature factory for the specified algorithm using the specified private and public keys.

def apply(algorithm: String, keyPair: KeyPair): SignerFactory

Creates a signature factory for the specified algorithm using the specified key pair.

Creates a signature factory for the specified algorithm using the specified key pair.

def apply(algorithm: String, privateKey: PrivateKey, certificate: Certificate): SignerFactory

Creates a signature factory for the specified algorithm using the specified key pair.

Creates a signature factory for the specified algorithm using the specified key pair.

def signing(algorithm: String, privateKey: PrivateKey): SignerFactory

Creates a signature factory that only supports signing for the specified algorithm using the specified private key.

Creates a signature factory that only supports signing for the specified algorithm using the specified private key.

def verifying(algorithm: String, publicKey: PublicKey): SignerFactory

Creates a signature factory that only supports signing for the specified algorithm using the specified public key.

Creates a signature factory that only supports signing for the specified algorithm using the specified public key.

def verifying(algorithm: String, certificate: Certificate): SignerFactory

Creates a signature factory that only supports signing for the specified algorithm using the specified public key.

Creates a signature factory that only supports signing for the specified algorithm using the specified public key.