- getSimpleCredential
Get a simple, minimal credential containing a secret (symmetric) key.
- buildBasicInlineKeyInfoResolver
Get a basic KeyInfo credential resolver which can process standard inline data -
RSAKeyValue, DSAKey
- generateSymmetricKey
Generates a random Java JCE symmetric Key object from the specified XML
Encryption algorithm URI.
- getKeyInfoGenerator
Obtains a KeyInfoGenerator for the specified Credential. The KeyInfoGenerator
returned is based on t
- prepareSignatureParams
Prepare a Signature with necessary additional information prior to signing.NOTE:Since this operation
- decodePrivateKey
Decodes RSA/DSA private keys in DER, PEM, or PKCS#8 (encrypted or unencrypted)
formats.
- derivePublicKey
Derives the public key from either a DSA or RSA private key.
- extractEncryptionKey
Extract the encryption key from the credential.
- extractSigningKey
Extract the signing key from the credential.
- matchKeyPair
Compare the supplied public and private keys, and determine if they correspond
to the same key pair.
- buildJavaDSAPrivateKey
Build Java DSA private key from base64 encoding.
- buildJavaDSAPublicKey
Build Java DSA public key from base64 encoding.