public interface Crypto
Modifier and Type | Method and Description |
---|---|
CertificateFactory |
certFactory() |
Cipher |
cipher(String algorithm) |
Mac |
hmac(String algorithm,
byte[] key) |
Mac |
hmacSHA1(byte[] key) |
Mac |
hmacSHA256(byte[] key) |
KeyFactory |
rsaKeyFactory() |
KeyPairGenerator |
rsaKeyPairGenerator() |
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
Cipher cipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
Copyright © 2009-2013 jclouds. All Rights Reserved.