public class AgileEncryptionVerifier extends EncryptionVerifier implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AgileEncryptionVerifier.AgileCertificateEntry |
| Modifier | Constructor and Description |
|---|---|
|
AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected |
AgileEncryptionVerifier(com.microsoft.schemas.office.x2006.encryption.EncryptionDocument ed) |
|
AgileEncryptionVerifier(java.lang.String descriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCertificate(java.security.cert.X509Certificate x509) |
AgileEncryptionVerifier |
clone() |
int |
getBlockSize()
The blockSize (in bytes) of the verifier data.
|
java.util.List<AgileEncryptionVerifier.AgileCertificateEntry> |
getCertificates() |
int |
getKeySize()
The keysize (in bits) of the verifier data.
|
protected void |
setBlockSize(int blockSize)
Sets the blockSize (in bytes) of the verifier
|
protected void |
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
protected void |
setEncryptedKey(byte[] encryptedKey) |
protected void |
setEncryptedVerifier(byte[] encryptedVerifier) |
protected void |
setEncryptedVerifierHash(byte[] encryptedVerifierHash) |
protected void |
setKeySize(int keyBits)
Sets the keysize (in bits) of the verifier
|
protected void |
setSalt(byte[] salt) |
getAlgorithm, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setHashAlgorithm, setSpinCountpublic AgileEncryptionVerifier(java.lang.String descriptor)
protected AgileEncryptionVerifier(com.microsoft.schemas.office.x2006.encryption.EncryptionDocument ed)
public AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
protected void setSalt(byte[] salt)
setSalt in class EncryptionVerifierprotected void setEncryptedVerifier(byte[] encryptedVerifier)
setEncryptedVerifier in class EncryptionVerifierprotected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
setEncryptedVerifierHash in class EncryptionVerifierprotected void setEncryptedKey(byte[] encryptedKey)
setEncryptedKey in class EncryptionVerifierpublic void addCertificate(java.security.cert.X509Certificate x509)
public java.util.List<AgileEncryptionVerifier.AgileCertificateEntry> getCertificates()
public AgileEncryptionVerifier clone() throws java.lang.CloneNotSupportedException
clone in class EncryptionVerifierjava.lang.CloneNotSupportedExceptionpublic int getKeySize()
public int getBlockSize()
protected void setKeySize(int keyBits)
keyBits - the keysize (in bits)protected void setBlockSize(int blockSize)
blockSize - the blockSize (in bytes)protected final void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
setCipherAlgorithm in class EncryptionVerifierCopyright 2018 The Apache Software Foundation or its licensors, as applicable.