Searched refs:version (Results 1 - 25 of 69) sorted by relevance

123

/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DProtocolVersion.java36 * Returns true if protocol version is supported
38 * @param version
40 public static boolean isSupported(byte[] version) { argument
41 if (version[0] != 3 || (version[1] != 0 && version[1] != 1)) {
50 * @param version
53 public static ProtocolVersion getByVersion(byte[] version) { argument
54 if (version[0] == 3) {
55 if (version[
139 public final byte[] version; field in class:ProtocolVersion
141 ProtocolVersion(String name, byte[] version) argument
[all...]
H A DSSLRecordProtocol.java70 * type(1) + version(2) + length(2) + MAX_CIPHERED_DATA_LENGTH
76 // protocol version of the connection
77 private byte[] version; field in class:SSLRecordProtocol
135 ? 6 // type + version + length + 1 byte of data
146 return 5+data_size; // type + version + length + data_size
166 record_size -= 5; // - (type + version + length + data_size)
225 return packetize(content_type, version, ciphered_fragment);
228 private byte[] packetize(byte type, byte[] version, byte[] fragment) { argument
231 if (version != null) {
232 buff[1] = version[
[all...]
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DLocator2Impl.java25 * @version TBS
30 private String version; field in class:Locator2Impl
43 * <em>encoding</em> and <em>version</em>strings are copied,
54 version = l2.getXMLVersion ();
64 * Returns the current value of the version property.
66 * @return the current value of the version property.
71 { return version; }
89 * Assigns the current value of the version property.
91 * @param version the new "version" valu
94 setXMLVersion(String version) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDOMImplementationImpl.java52 public boolean hasFeature(String feature, String version) { argument
53 boolean anyVersion = version == null || version.length() == 0;
63 return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0");
65 return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0");
67 return anyVersion || version
87 getFeature(String feature, String version) argument
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DStructUtsname.java34 /** The OS version, such as "#48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011". */
35 public final String version; field in class:StructUtsname
40 StructUtsname(String sysname, String nodename, String release, String version, String machine) { argument
44 this.version = version;
/libcore/luni/src/main/java/javax/crypto/spec/
H A DRC5ParameterSpec.java29 private final int version; field in class:RC5ParameterSpec
36 * version, round count an word size (in bits).
38 * @param version
39 * the version.
45 public RC5ParameterSpec(int version, int rounds, int wordSize) { argument
46 this.version = version;
54 * version, round count, word size (in bits) and an <i>initialization
61 * @param version
62 * the version
73 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) argument
112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DRC5ParameterSpecTest.java20 * @version $Revision$
38 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method
44 int version = 1;
50 new RC5ParameterSpec(version, rounds, wordSize, null);
57 new RC5ParameterSpec(version, rounds, wordSize+8, iv);
64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3});
70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds,
79 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int
85 int version = 1;
92 new RC5ParameterSpec(version, round
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DJTidyDOMImplementation.java36 * @param version This is the version number of the feature to test. In
37 * Level 2, the string can be either "2.0" or "1.0". If the version is
38 * not specified, supporting any version of the feature causes the
41 * specified version, <code>false</code> otherwise.
44 String version) {
46 return version == null || version.equals("1.0") || version.equals("2.0");
55 * future version o
43 hasFeature(String feature, String version) argument
127 getFeature(String feature, String version) argument
[all...]
H A DDOMTestIncompatibleException.java51 String version) {
55 buf.append("\" version=\"");
56 buf.append(version);
50 incompatibleFeature(String feature, String version) argument
/libcore/luni/src/main/java/java/security/
H A DAuthProvider.java28 protected AuthProvider(String name, double version, String info) { super(name, version, info); } argument
/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMImplementation.java24 * version, as specified in .
26 * @param version This is the version number of the feature to test.
28 * specified version, <code>false</code> otherwise.
31 String version);
112 * specialized APIs of the specified feature and version, as specified
121 * @param version This is the version number of the feature to test.
123 * the specified feature and version, if any, or <code>null</code> if
134 String version);
30 hasFeature(String feature, String version) argument
133 getFeature(String feature, String version) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs8/
H A DPrivateKeyInfo.java37 * version Version,
51 private final int version; field in class:PrivateKeyInfo
57 public PrivateKeyInfo(int version, AlgorithmIdentifier privateKeyAlgorithm, argument
59 this.version = version;
65 private PrivateKeyInfo(int version, argument
68 this(version, privateKeyAlgorithm, privateKey, attributes);
73 return version;
103 ASN1Integer.getInstance(), // version
123 values[0] = ASN1Integer.fromIntValue(privateKeyInfo.version);
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/
H A DCertificationRequestInfo.java34 * version Version,
44 private final int version; field in class:CertificationRequestInfo
58 private CertificationRequestInfo(int version, Name subject, argument
60 this.version = version;
72 return version;
89 res.append("\n version: ");
90 res.append(version);
108 ASN1Integer.getInstance(), // version
127 values[0] = ASN1Integer.fromIntValue(certReqInfo.version);
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
H A DTimeStampReq.java38 * version INTEGER { v1(1) },
51 private final int version; field in class:TimeStampReq
65 public TimeStampReq(int version, MessageImprint messageImprint, argument
68 this.version = version;
76 private TimeStampReq(int version, MessageImprint messageImprint, argument
79 this (version, messageImprint, reqPolicy, nonce, certReq, extensions);
87 res.append(version);
149 * @return Returns the version.
152 return version;
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProvider2Test.java28 TestProvider(String name, double version, String info) { argument
29 super(name, version, info);
90 assertEquals("the version of the provider is not stored properly",
128 assertEquals("provTest version 1.2", provTest.toString());
157 public MockProvider(String name, double version, String info) { argument
158 super(name, version, info);
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/
H A DSignedData.java20 * @version $Revision$
41 * version Version,
51 private final int version; field in class:SignedData
58 private SignedData(int version, List<?> digestAlgorithms, ContentInfo contentInfo, argument
61 this.version = version;
82 return version;
89 res.append(version);
123 values[0] = new byte[] {(byte)sd.version};
H A DSignerInfo.java20 * @version $Revision$
45 * version Version,
58 private final int version; field in class:SignerInfo
67 private SignerInfo(int version, argument
74 this.version = version;
122 res.append("\n version : ");
123 res.append(version);
161 ASN1Integer.getInstance(), //version
177 values[0] = new byte[] {(byte)si.version};
[all...]
/libcore/luni/src/main/java/java/util/
H A DUUID.java51 private transient int version; field in class:UUID
95 // setup version field
96 version = (int) ((mostSigBits & 0x000000000000F000) >>> 12);
98 if (variant != 2 && version != 1) {
117 * Generates a variant 2, version 4 (randomly generated number) UUID as per
136 * Generates a variant 2, version 3 (name-based, MD5-hashed) UUID as per <a
155 private static UUID makeUuid(byte[] hash, int version) { argument
158 // Set the version field.
160 msb |= ((long) version) << 12;
236 * The version o
249 public int version() { method in class:UUID
[all...]
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DNodeIsSupported.java38 * The method "isSupported(feature,version)" Tests whether the DOM
44 * insensitive and versions "2.0", "1.0" and if the version is not specified,
45 * supporting any version of the feature should return true. Check if the value
85 String version = "";
103 success = element.isSupported(featureXML, version);
110 success = element.isSupported(featureCore, version);
120 String version = "";
138 success = attribute.isSupported(featureXML, version);
145 success = attribute.isSupported(featureCore, version);
H A DDOMDocumentBuilderFactory.java51 public boolean hasFeature(String feature, String version) { argument
52 return builder.getDOMImplementation().hasFeature(feature, version);
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A Ddomimplementationhasfeature01.java34 * The method "hasFeature(feature,version)" tests if the DOMImplementation implements
39 * "1.0" and if the version is not specified, supporting any version of the feature
69 String version = "";
87 success = domImpl.hasFeature(featureXML, version);
94 success = domImpl.hasFeature(featureCore, version);
H A Dnodeissupported01.java34 * The method "isSupported(feature,version)" Tests whether the DOM implementation
39 * "2.0", "1.0" and if the version is not specified, supporting any version of the feature
69 String version = "";
87 success = element.isSupported(featureXML, version);
94 success = element.isSupported(featureCore, version);
H A Dnodeissupported02.java34 * The method "isSupported(feature,version)" Tests whether the DOM implementation
39 * "2.0", "1.0" and if the version is not specified, supporting any version of the feature
69 String version = "";
87 success = attribute.isSupported(featureXML, version);
94 success = attribute.isSupported(featureCore, version);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DTBSCertificate.java20 * @version $Revision$
47 * version [0] EXPLICIT Version DEFAULT v1,
55 * -- If present, version MUST be v2 or v3
57 * -- If present, version MUST be v2 or v3
59 * -- If present, version MUST be v3
65 /** the value of version field of the structure */
66 private final int version; field in class:TBSCertificate
88 public TBSCertificate(int version, BigInteger serialNumber, argument
94 this.version = version;
106 TBSCertificate(int version, BigInteger serialNumber, AlgorithmIdentifier signature, Name issuer, Validity validity, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, boolean[] issuerUniqueID, boolean[] subjectUniqueID, Extensions extensions, byte[] encoding) argument
[all...]
H A DTBSCertList.java20 * @version $Revision$
50 * version Version OPTIONAL,
68 /** the value of version field of the structure */
69 private final int version; field in class:TBSCertList
194 private TBSCertList(int version, AlgorithmIdentifier signature, argument
198 this.version = version;
209 * Returns the value of version field of the structure.
212 return version;
272 return version
[all...]

Completed in 755 milliseconds

123