public class AgileEncryptionVerifier extends EncryptionVerifier
Modifier and Type | Class and Description |
---|---|
static class |
AgileEncryptionVerifier.AgileCertificateEntry |
Modifier | Constructor and Description |
---|---|
|
AgileEncryptionVerifier(AgileEncryptionVerifier other) |
|
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 |
copy() |
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) |
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getGenericProperties, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setHashAlgorithm, setSpinCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericChildren, getGenericRecordType
public 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)
public AgileEncryptionVerifier(AgileEncryptionVerifier other)
protected void setSalt(byte[] salt)
setSalt
in class EncryptionVerifier
protected void setEncryptedVerifier(byte[] encryptedVerifier)
setEncryptedVerifier
in class EncryptionVerifier
protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
setEncryptedVerifierHash
in class EncryptionVerifier
protected void setEncryptedKey(byte[] encryptedKey)
setEncryptedKey
in class EncryptionVerifier
public void addCertificate(java.security.cert.X509Certificate x509)
public java.util.List<AgileEncryptionVerifier.AgileCertificateEntry> getCertificates()
public AgileEncryptionVerifier copy()
copy
in interface Duplicatable
copy
in class EncryptionVerifier
public 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 EncryptionVerifier
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.