软件包 | 描述 |
---|---|
javax.crypto |
提供加密操作的类和接口。
|
Modifier and Type | Method and Description |
---|---|
int |
Cipher.doFinal(byte[] output, int outputOffset)
完成多个部分的加密或解密操作,这取决于该密码是如何初始化的。
|
void |
Mac.doFinal(byte[] output, int outOffset)
完成了苹果的操作。
|
int |
Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)
在一个单一的部分操作加密或解密数据,或完成一个多部分操作。
|
int |
Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
在一个单一的部分操作加密或解密数据,或完成一个多部分操作。
|
int |
Cipher.doFinal(ByteBuffer input, ByteBuffer output)
在一个单一的部分操作加密或解密数据,或完成一个多部分操作。
|
protected abstract int |
CipherSpi.engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
在一个单一的部分操作加密或解密数据,或完成一个多部分操作。
|
protected int |
CipherSpi.engineDoFinal(ByteBuffer input, ByteBuffer output)
在一个单一的部分操作加密或解密数据,或完成一个多部分操作。
|
protected abstract int |
KeyAgreementSpi.engineGenerateSecret(byte[] sharedSecret, int offset)
生成共享密钥,并将其写入缓冲区,
sharedSecret ,在
offset 包容开始。
|
protected abstract int |
ExemptionMechanismSpi.engineGenExemptionBlob(byte[] output, int outputOffset)
生成密钥blob豁免机制,并存储在
output 缓冲的结果,从
outputOffset 包容。
|
protected abstract int |
CipherSpi.engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
继续一个多部分加密或解密操作(取决于这个密码是如何初始化的),处理另一个数据部分。
|
protected int |
CipherSpi.engineUpdate(ByteBuffer input, ByteBuffer output)
继续一个多部分加密或解密操作(取决于这个密码是如何初始化的),处理另一个数据部分。
|
int |
KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
生成共享密钥,并将其写入缓冲区,
sharedSecret ,在
offset 包容开始。
|
int |
ExemptionMechanism.genExemptionBlob(byte[] output)
生成密钥blob豁免机制,并存储在
output 缓冲效果。
|
int |
ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
生成密钥blob豁免机制,并存储在
output 缓冲的结果,从
outputOffset 包容。
|
int |
Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output)
继续一个多部分加密或解密操作(取决于这个密码是如何初始化的),处理另一个数据部分。
|
int |
Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
继续一个多部分加密或解密操作(取决于这个密码是如何初始化的),处理另一个数据部分。
|
int |
Cipher.update(ByteBuffer input, ByteBuffer output)
继续一个多部分加密或解密操作(取决于这个密码是如何初始化的),处理另一个数据部分。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.