/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);
/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
/** * Generates and returns the signature of all updated data. * <p> * This {@code Signature} instance is reset to the state of its last * initialization for signing and thus can be used for another signature * from the same identity. * * @return the signature of all updated data. * @throws SignatureException * if this {@code Signature} instance is not initialized * properly. */ public final byte[] sign() throws SignatureException { if (state != SIGN) { throw new SignatureException("Signature object is not initialized properly"); } return engineSign(); }
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);
throw new SignatureException("Signature object is not initialized properly"); return engineSign(outbuf, offset, len);