Save This Page
Home » openjdk-7 » java » security » [javadoc | source]
java.security
static class: Signature.Delegate [javadoc | source]
java.lang.Object
   java.security.SignatureSpi
      java.security.Signature
         java.security.Signature$Delegate
Fields inherited from java.security.Signature:
provider,  UNINITIALIZED,  SIGN,  VERIFY,  state
Fields inherited from java.security.SignatureSpi:
appRandom
Constructor:
 Delegate(SignatureSpi sigSpi,
    String algorithm) 
 Delegate(Service service,
    Iterator<Service> iterator,
    String algorithm) 
Method from java.security.Signature$Delegate Summary:
chooseFirstProvider,   clone,   engineGetParameter,   engineGetParameters,   engineInitSign,   engineInitSign,   engineInitVerify,   engineSetParameter,   engineSetParameter,   engineSign,   engineSign,   engineUpdate,   engineUpdate,   engineUpdate,   engineVerify,   engineVerify
Methods from java.security.Signature:
chooseFirstProvider,   clone,   getAlgorithm,   getInstance,   getInstance,   getInstance,   getParameter,   getParameters,   getProvider,   initSign,   initSign,   initVerify,   initVerify,   setParameter,   setParameter,   sign,   sign,   toString,   update,   update,   update,   update,   verify,   verify
Methods from java.security.SignatureSpi:
clone,   engineGetParameter,   engineGetParameters,   engineInitSign,   engineInitSign,   engineInitVerify,   engineSetParameter,   engineSetParameter,   engineSign,   engineSign,   engineUpdate,   engineUpdate,   engineUpdate,   engineVerify,   engineVerify
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.Signature$Delegate Detail:
  void chooseFirstProvider() 
    Choose the Spi from the first provider available. Used if delayed provider selection is not possible because initSign()/ initVerify() is not the first method called.
 public Object clone() throws CloneNotSupportedException 
    Returns a clone if the delegate is cloneable.
 protected Object engineGetParameter(String param) throws InvalidParameterException 
 protected AlgorithmParameters engineGetParameters() 
 protected  void engineInitSign(PrivateKey privateKey) throws InvalidKeyException 
 protected  void engineInitSign(PrivateKey privateKey,
    SecureRandom sr) throws InvalidKeyException 
 protected  void engineInitVerify(PublicKey publicKey) throws InvalidKeyException 
 protected  void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException 
 protected  void engineSetParameter(String param,
    Object value) throws InvalidParameterException 
 protected byte[] engineSign() throws SignatureException 
 protected int engineSign(byte[] outbuf,
    int offset,
    int len) throws SignatureException 
 protected  void engineUpdate(byte b) throws SignatureException 
 protected  void engineUpdate(ByteBuffer data) 
 protected  void engineUpdate(byte[] b,
    int off,
    int len) throws SignatureException 
 protected boolean engineVerify(byte[] sigBytes) throws SignatureException 
 protected boolean engineVerify(byte[] sigBytes,
    int offset,
    int length) throws SignatureException