@InterfaceAudience.Private @InterfaceStability.Evolving public class CryptoAES extends Object
| 构造器和说明 |
|---|
CryptoAES(String transformation,
Properties properties,
byte[] inKey,
byte[] outKey,
byte[] inIv,
byte[] outIv) |
public CryptoAES(String transformation, Properties properties, byte[] inKey, byte[] outKey, byte[] inIv, byte[] outIv) throws IOException
IOExceptionpublic byte[] wrap(byte[] data,
int offset,
int len)
throws SaslException
data - the input byte arrayoffset - the offset in input where the input startslen - the input lengthSaslException - if error happenspublic byte[] unwrap(byte[] data,
int offset,
int len)
throws SaslException
data - the input byte arrayoffset - the offset in input where the input startslen - the input lengthSaslException - if error happensCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.