程序包 org.coodex.util

类 RSACommon

java.lang.Object
org.coodex.util.RSACommon

public class RSACommon extends Object
Created by davidoff shen on 2017-04-24.
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static byte[]
    decrypt(byte[] privateKey, byte[] content)
     
    static byte[]
    encrypt(byte[] publicKey, byte[] content)
     
    static boolean
    isKeyPair(byte[] publicKey, byte[] privateKey)
     
    static byte[]
    sign(byte[] privateKey, byte[] content)
     
    static byte[]
    sign(byte[] privateKey, byte[] content, String algorithm)
     
    static boolean
    verify(byte[] publicKey, byte[] content, byte[] signature)
     
    static boolean
    verify(byte[] publicKey, byte[] content, byte[] signature, String algorithm)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait