public interface Crypto
Modifier and Type | Method and Description |
---|---|
CertificateFactory |
certFactory() |
Cipher |
cipher(String algorithm) |
MessageDigest |
digest(String algorithm) |
Mac |
hmac(String algorithm,
byte[] key) |
Mac |
hmacSHA1(byte[] key) |
Mac |
hmacSHA256(byte[] key) |
MessageDigest |
md5() |
KeyFactory |
rsaKeyFactory() |
KeyPairGenerator |
rsaKeyPairGenerator() |
MessageDigest |
sha1() |
MessageDigest |
sha256() |
MessageDigest |
sha512() |
KeyPairGenerator rsaKeyPairGenerator()
KeyFactory rsaKeyFactory()
CertificateFactory certFactory()
Mac hmac(String algorithm, byte[] key) throws NoSuchAlgorithmException, InvalidKeyException
Mac hmacSHA256(byte[] key) throws InvalidKeyException
InvalidKeyException
Mac hmacSHA1(byte[] key) throws InvalidKeyException
InvalidKeyException
MessageDigest digest(String algorithm) throws NoSuchAlgorithmException
NoSuchAlgorithmException
MessageDigest md5()
MessageDigest sha1()
MessageDigest sha256()
MessageDigest sha512()
Cipher cipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
Copyright © 2009-2013 jclouds. All Rights Reserved.