class MacData extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private byte[] |
digest |
private String |
digestAlgorithmName |
private AlgorithmParameters |
digestAlgorithmParams |
private byte[] |
encoded |
private int |
iterations |
private byte[] |
macSalt |
| 构造器和说明 |
|---|
MacData(AlgorithmParameters algParams,
byte[] digest,
byte[] salt,
int iterations) |
MacData(sun.security.util.DerInputStream derin)
Parses a PKCS#12 MAC data.
|
MacData(String algName,
byte[] digest,
byte[] salt,
int iterations) |
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) byte[] |
getDigest() |
(专用程序包) String |
getDigestAlgName() |
byte[] |
getEncoded()
Returns the ASN.1 encoding of this object.
|
(专用程序包) int |
getIterations() |
(专用程序包) byte[] |
getSalt() |
private String digestAlgorithmName
private AlgorithmParameters digestAlgorithmParams
private byte[] digest
private byte[] macSalt
private int iterations
private byte[] encoded
MacData(sun.security.util.DerInputStream derin) throws IOException, sun.security.pkcs.ParsingException
IOExceptionsun.security.pkcs.ParsingExceptionMacData(String algName, byte[] digest, byte[] salt, int iterations) throws NoSuchAlgorithmException
MacData(AlgorithmParameters algParams, byte[] digest, byte[] salt, int iterations) throws NoSuchAlgorithmException
String getDigestAlgName()
byte[] getSalt()
int getIterations()
byte[] getDigest()
public byte[] getEncoded()
throws NoSuchAlgorithmException,
IOException
IOException - if error occurs when constructing its
ASN.1 encoding.NoSuchAlgorithmExceptionCopyright © 2023. All rights reserved.