Package java.security

Examples of java.security.DigestException


     * {@inheritDoc}
     */
    protected int engineDigest(byte[] buf, int offset, int len)
            throws DigestException {
        if (offset < 0 || offset + len >= buf.length) {
            throw new DigestException(
                    "Wrong offset or not enough space to store the digest");
        }
        int destLength = Math.min(len, BYTE_DIGEST_LENGTH);
        System.arraycopy(engineDigest(), 0, buf, offset, destLength);
        return destLength;
View Full Code Here

TOP

Related Classes of java.security.DigestException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.