public class SM2Cipher
extends org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi
| 限定符和类型 | 类和说明 |
|---|---|
private static class |
SM2Cipher.DerSM2Engine |
org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.ErasableOutputStream, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withBlake2b, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withBlake2s, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withMD5, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withRMD, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withSha1, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withSha224, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withSha256, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withSha384, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withSha512, org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi.SM2withWhirlpool| 限定符和类型 | 字段和说明 |
|---|---|
private static boolean |
DEBUG |
| 构造器和说明 |
|---|
SM2Cipher() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
engineGetOutputSize(int i) |
protected Key |
engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType) |
protected byte[] |
engineWrap(Key key) |
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetParameters, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUpdate, engineUpdateengineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAADprivate static final boolean DEBUG
protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException
protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException
public int engineGetOutputSize(int i)
engineGetOutputSize 在类中 org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpiCopyright © 2022. All rights reserved.