相关代码 |
|
package org.j3de.security; import java.security.PublicKey; import java.security.Signature; import javax.crypto.Cipher; import org.j3de.util.Configurable; public interface SecurityFactory extends Configurable { public PublicKey getPublicKey(); public Cipher getDecodingCipher(); public Cipher getEncodingCipher(); public Signature getSignature(); public Signature getVerifySignature(PublicKey sender); }