Searched defs:asn1Bytes (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DSignatureDSA.java279 * @param asn1Bytes
285 private static byte[] convertASN1toXMLDSIG(byte asn1Bytes[]) argument
288 byte rLength = asn1Bytes[3];
291 for (i = rLength; (i > 0) && (asn1Bytes[(4 + rLength) - i] == 0); i--);
293 byte sLength = asn1Bytes[5 + rLength];
297 (j > 0) && (asn1Bytes[(6 + rLength + sLength) - j] == 0); j--);
299 if ((asn1Bytes[0] != 48) || (asn1Bytes[1] != asn1Bytes.length - 2)
300 || (asn1Bytes[
[all...]
H A DSignatureECDSA.java66 * @param asn1Bytes
73 private static byte[] convertASN1toXMLDSIG(byte asn1Bytes[]) argument
76 byte rLength = asn1Bytes[3];
79 for (i = rLength; (i > 0) && (asn1Bytes[(4 + rLength) - i] == 0); i--);
81 byte sLength = asn1Bytes[5 + rLength];
85 (j > 0) && (asn1Bytes[(6 + rLength + sLength) - j] == 0); j--);
87 if ((asn1Bytes[0] != 48) || (asn1Bytes[1] != asn1Bytes.length - 2)
88 || (asn1Bytes[
[all...]
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMSignatureMethod.java359 * @param asn1Bytes
364 private static byte[] convertASN1toXMLDSIG(byte asn1Bytes[]) argument
367 byte rLength = asn1Bytes[3];
370 for (i = rLength; (i > 0) && (asn1Bytes[(4 + rLength) - i] == 0); i--);
372 byte sLength = asn1Bytes[5 + rLength];
376 (j > 0) && (asn1Bytes[(6 + rLength + sLength) - j] == 0); j--);
378 if ((asn1Bytes[0] != 48) || (asn1Bytes[1] != asn1Bytes.length - 2)
379 || (asn1Bytes[
[all...]

Completed in 23 milliseconds