Org.BouncyCastle.Security.SignerUtilities
Factory for ISigner instances and helpers for resolving signature algorithm metadata
(X.509 algorithm parameters, OID lookup) from algorithm names or OIDs.
The set of canonical signature algorithm names recognised by this factory.
Returns the default X.509 AlgorithmIdentifier parameters block for the given signature
algorithm OID. For RSASSA-PSS variants this constructs a populated RSASSA-PSS-params
structure; for most other algorithms Instance is returned.
Returns the default X.509 AlgorithmIdentifier parameters block for the named signature
algorithm. See the OID overload for behaviour.
Returns the canonical signature algorithm name registered for the given ASN.1 OID, or null
if the OID is not mapped.
Returns an ObjectIdentifier for a given signature mechanism.
Resolve and instantiate an ISigner for the given ASN.1 algorithm OID.
public static ISigner InitSigner(DerObjectIdentifier algorithmOid, bool forSigning, AsymmetricKeyParameter privateKey, SecureRandom random)
Resolve a signer for the given OID and initialise it for signing or verification.
public static ISigner InitSigner(string algorithm, bool forSigning, AsymmetricKeyParameter privateKey, SecureRandom random)
Resolve a signer by name and initialise it for signing or verification. See the OID overload for
parameter semantics.