public class FipsEncryptor extends java.lang.Object implements IEncryptor
Modifier and Type | Class and Description |
---|---|
static class |
FipsEncryptor.FipsHashEncryptor |
Constructor and Description |
---|
FipsEncryptor() |
Modifier and Type | Method and Description |
---|---|
IAsymmetricalEncryptor |
createAsymmetrical(byte[] exponent,
byte[] modulus) |
IHashEncryptor |
createHash() |
ISymmetricalEncryptor |
createSymmetrical(int keySize) |
public IHashEncryptor createHash()
createHash
in interface IEncryptor
public ISymmetricalEncryptor createSymmetrical(int keySize)
createSymmetrical
in interface IEncryptor
public IAsymmetricalEncryptor createAsymmetrical(byte[] exponent, byte[] modulus) throws java.security.NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException
createAsymmetrical
in interface IEncryptor
java.security.NoSuchAlgorithmException
java.security.spec.InvalidKeySpecException
Copyright © 2014. All Rights Reserved.