SignatureFactory

scodec.codecs.SignatureFactory$

Create java.security.Signature implementations for SignerFactory

Attributes

Source:
SignatureCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

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.

Attributes

Source:
SignatureCodec.scala
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.

Attributes

Source:
SignatureCodec.scala
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.

Attributes

Source:
SignatureCodec.scala
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.

Attributes

Source:
SignatureCodec.scala
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.

Attributes

Source:
SignatureCodec.scala
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.

Attributes

Source:
SignatureCodec.scala