类的用途
javax.crypto.Cipher
使用 Cipher 的包
-
Cipher 在 javax.crypto 中的用法
javax.crypto 中 Cipher 的子类javax.crypto 中返回 Cipher 的方法修饰符和类型方法描述static final CipherCipher.getInstance(String transformation) 返回一个实现指定转换的Cipher对象。static final CipherCipher.getInstance(String transformation, String provider) 返回一个实现指定转换的Cipher对象。static final CipherCipher.getInstance(String transformation, Provider provider) 返回一个实现指定转换的Cipher对象。javax.crypto 中的方法,参数类型为 Cipher修饰符和类型方法描述EncryptedPrivateKeyInfo.getKeySpec(Cipher cipher) 从加密数据中提取封闭的 PKCS8EncodedKeySpec 对象并将其返回。final Object检索原始(封装的)对象。javax.crypto 中的构造函数,参数类型为 Cipher修饰符构造方法描述CipherInputStream(InputStream is, Cipher c) 从InputStream和Cipher对象构造一个CipherInputStream。CipherOutputStream(OutputStream os, Cipher c) 从OutputStream和Cipher对象构造一个CipherOutputStream。SealedObject(Serializable object, Cipher c) 从任何Serializable对象构造一个SealedObject。