public class AgileEncryptionVerifier extends EncryptionVerifier
Modifier | Constructor and Description |
---|---|
|
AgileEncryptionVerifier(AgileEncryptionVerifier other) |
|
AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode) |
protected |
AgileEncryptionVerifier(EncryptionDocument ed) |
|
AgileEncryptionVerifier(java.lang.String descriptor) |
Modifier and Type | Method and Description |
---|---|
AgileEncryptionVerifier |
copy() |
int |
getBlockSize()
The blockSize (in bytes) of the verifier data.
(验证者数据的块大小(以字节为单位)。)
|
int |
getKeySize()
The keysize (in bits) of the verifier data.
(验证者数据的密钥大小(以位为单位)。)
|
void |
setBlockSize(int blockSize)
Sets the blockSize (in bytes) of the verifier
(设置验证者的blockSize(以字节为单位))
|
void |
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
void |
setEncryptedKey(byte[] encryptedKey) |
void |
setEncryptedVerifier(byte[] encryptedVerifier) |
void |
setEncryptedVerifierHash(byte[] encryptedVerifierHash) |
void |
setKeySize(int keyBits)
Sets the keysize (in bits) of the verifier
(设置验证者的密钥大小(以位为单位))
|
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(EncryptionDocument ed)
public AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
public AgileEncryptionVerifier(AgileEncryptionVerifier other)
public void setSalt(byte[] salt)
setSalt
in class
EncryptionVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier)
setEncryptedVerifier
in class
EncryptionVerifier
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
setEncryptedVerifierHash
in class
EncryptionVerifier
public void setEncryptedKey(byte[] encryptedKey)
setEncryptedKey
in class
EncryptionVerifier
public AgileEncryptionVerifier copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
EncryptionVerifier
(在类 EncryptionVerifier 中复制)
public int getKeySize()
public int getBlockSize()
public void setKeySize(int keyBits)
keyBits
- the keysize (in bits)
(keyBits - 密钥大小(以位为单位))
public void setBlockSize(int blockSize)
blockSize
- the blockSize (in bytes)
(blockSize - 块大小(以字节为单位))
public final void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
setCipherAlgorithm
in class
EncryptionVerifier
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.