Java 类javax.xml.crypto.dsig.spec.HMACParameterSpec 实例源码

项目:xmlsec-gost    文件:DOMHMACSignatureMethod.java   
@Override
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isDebugEnabled()) {
            log.debug("Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:jdk7-jdk    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException {
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec) params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(Level.FINE)) {
            log.log(Level.FINE,
                "Setting outputLength from HMACParameterSpec to: "
                + outputLength);
        }
    } else {
        outputLength = -1;
    }
}
项目:openjdk-source-code-learn    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException {
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec) params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(Level.FINE)) {
            log.log(Level.FINE,
                "Setting outputLength from HMACParameterSpec to: "
                + outputLength);
        }
    } else {
        outputLength = -1;
    }
}
项目:openjdk-jdk7u-jdk    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException {
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec) params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(Level.FINE)) {
            log.log(Level.FINE,
                "Setting outputLength from HMACParameterSpec to: "
                + outputLength);
        }
    } else {
        outputLength = -1;
    }
}
项目:openjdk-icedtea7    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException {
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec) params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(Level.FINE)) {
            log.log(Level.FINE,
                "Setting outputLength from HMACParameterSpec to: "
                + outputLength);
        }
    }
}
项目:OpenJSharp    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:OpenJSharp    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:OpenJSharp    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:jdk8u-jdk    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:jdk8u-jdk    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:jdk8u-jdk    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:openjdk-jdk10    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:openjdk-jdk10    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:openjdk-jdk10    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:openjdk9    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:openjdk9    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:openjdk9    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:xmlsec-gost    文件:DOMHMACSignatureMethod.java   
@Override
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.parseInt(textOfNode(paramsElem));
    outputLengthSet = true;
    if (log.isDebugEnabled()) {
        log.debug("unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:xmlsec-gost    文件:DOMHMACSignatureMethod.java   
@Override
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return outputLength == ospec.getOutputLength();
}
项目:jdk8u_jdk    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:jdk8u_jdk    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:jdk8u_jdk    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:lookaside_java-1.8.0-openjdk    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:lookaside_java-1.8.0-openjdk    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:infobip-open-jdk-8    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:infobip-open-jdk-8    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:infobip-open-jdk-8    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:jdk8u-dev-jdk    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:jdk8u-dev-jdk    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:jdk8u-dev-jdk    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:jdk7-jdk    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException {
    outputLength = new Integer
        (paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(Level.FINE)) {
        log.log(Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:jdk7-jdk    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec) spec;

    return (outputLength == ospec.getOutputLength());
}
项目:openjdk-source-code-learn    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException {
    outputLength = new Integer
        (paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(Level.FINE)) {
        log.log(Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:openjdk-source-code-learn    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec) spec;

    return (outputLength == ospec.getOutputLength());
}
项目:OLD-OpenJDK8    文件:DOMHMACSignatureMethod.java   
void checkParams(SignatureMethodParameterSpec params)
    throws InvalidAlgorithmParameterException
{
    if (params != null) {
        if (!(params instanceof HMACParameterSpec)) {
            throw new InvalidAlgorithmParameterException
                ("params must be of type HMACParameterSpec");
        }
        outputLength = ((HMACParameterSpec)params).getOutputLength();
        outputLengthSet = true;
        if (log.isLoggable(java.util.logging.Level.FINE)) {
            log.log(java.util.logging.Level.FINE, "Setting outputLength from HMACParameterSpec to: " + outputLength);
        }
    }
}
项目:OLD-OpenJDK8    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException
{
    outputLength = Integer.valueOf(paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(java.util.logging.Level.FINE)) {
        log.log(java.util.logging.Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:OLD-OpenJDK8    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec)spec;

    return (outputLength == ospec.getOutputLength());
}
项目:openjdk-jdk7u-jdk    文件:DOMHMACSignatureMethod.java   
SignatureMethodParameterSpec unmarshalParams(Element paramsElem)
    throws MarshalException {
    outputLength = new Integer
        (paramsElem.getFirstChild().getNodeValue()).intValue();
    outputLengthSet = true;
    if (log.isLoggable(Level.FINE)) {
        log.log(Level.FINE, "unmarshalled outputLength: " + outputLength);
    }
    return new HMACParameterSpec(outputLength);
}
项目:openjdk-jdk7u-jdk    文件:DOMHMACSignatureMethod.java   
boolean paramsEqual(AlgorithmParameterSpec spec) {
    if (getParameterSpec() == spec) {
        return true;
    }
    if (!(spec instanceof HMACParameterSpec)) {
        return false;
    }
    HMACParameterSpec ospec = (HMACParameterSpec) spec;

    return (outputLength == ospec.getOutputLength());
}