Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 101) sorted by relevance

12345

/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DProtocolVersion.java40 public static boolean isSupported(byte[] version) { in isSupported() argument
41 if (version[0] != 3 || (version[1] != 0 && version[1] != 1)) { in isSupported()
53 public static ProtocolVersion getByVersion(byte[] version) { in getByVersion() argument
54 if (version[0] == 3) { in getByVersion()
55 if (version[1] == 1) { in getByVersion()
58 if (version[1] == 0) { in getByVersion()
103 || (latest.version[0] < current.version[0]) in getLatestVersion()
104 … || (latest.version[0] == current.version[0] && latest.version[1] < current.version[1])) { in getLatestVersion()
139 public final byte[] version; field in ProtocolVersion
141 private ProtocolVersion(String name, byte[] version) { in ProtocolVersion() argument
[all …]
DSSLRecordProtocol.java77 private byte[] version; field in SSLRecordProtocol
226 return packetize(content_type, version, ciphered_fragment); in wrap()
229 private byte[] packetize(byte type, byte[] version, byte[] fragment) { in packetize() argument
232 if (version != null) { in packetize()
233 buff[1] = version[0]; in packetize()
234 buff[2] = version[1]; in packetize()
258 pendingConnectionState = ((version == null) || (version[1] == 1)) in setSession()
281 ContentType.CHANGE_CIPHER_SPEC, version[0], in getChangeCipherSpecMesage()
282 version[1], 0, 1, 1 in getChangeCipherSpecMesage()
286 packetize(ContentType.CHANGE_CIPHER_SPEC, version, in getChangeCipherSpecMesage()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DRC5ParameterSpecTest.java57 int version = 1; in testRC5ParameterSpec1() local
63 new RC5ParameterSpec(version, rounds, wordSize, null); in testRC5ParameterSpec1()
70 new RC5ParameterSpec(version, rounds, wordSize+8, iv); in testRC5ParameterSpec1()
77 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3}); in testRC5ParameterSpec1()
83 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds, in testRC5ParameterSpec1()
104 int version = 1; in testRC5ParameterSpec2() local
111 new RC5ParameterSpec(version, rounds, wordSize, null, offset); in testRC5ParameterSpec2()
118 new RC5ParameterSpec(version, rounds, wordSize+8, iv, offset); in testRC5ParameterSpec2()
125 new RC5ParameterSpec(version, rounds, wordSize, iv, offset+1); in testRC5ParameterSpec2()
132 new RC5ParameterSpec(version, rounds, wordSize, new byte[] { 1, 2, in testRC5ParameterSpec2()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMImplementationImpl.java52 public boolean hasFeature(String feature, String version) { in hasFeature() argument
53 boolean anyVersion = version == null || version.length() == 0; in hasFeature()
63 … return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0"); in hasFeature()
65 … return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0"); in hasFeature()
67 return anyVersion || version.equals("1.0") || version.equals("1.1"); in hasFeature()
87 public Object getFeature(String feature, String version) { in getFeature() argument
88 return hasFeature(feature, version) ? this : null; in getFeature()
/libcore/luni/src/main/java/javax/crypto/spec/
DRC5ParameterSpec.java29 private final int version; field in RC5ParameterSpec
45 public RC5ParameterSpec(int version, int rounds, int wordSize) { in RC5ParameterSpec() argument
46 this.version = version; in RC5ParameterSpec()
73 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { in RC5ParameterSpec() argument
80 this.version = version; in RC5ParameterSpec()
112 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) { in RC5ParameterSpec() argument
122 this.version = version; in RC5ParameterSpec()
135 return version; in getVersion()
188 return (version == ps.version) in equals()
201 int result = version + rounds + wordSize; in hashCode()
/libcore/luni/src/main/java/org/xml/sax/ext/
DLocator2Impl.java30 private String version; field in Locator2Impl
54 version = l2.getXMLVersion (); in Locator2Impl()
71 { return version; } in getXMLVersion()
94 public void setXMLVersion (String version) in setXMLVersion() argument
95 { this.version = version; } in setXMLVersion()
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF7 com.ibm.ive.eccomm.service.registry; specification-version=1.0.0,
8 com.ibm.ive.eccomm.service.session; specification-version=1.0.0,
9 com.ibm.ive.eccomm.service.framework; specification-version=1.2.0,
10 org.osgi.framework; specification-version=1.0.0,
11 org.osgi.service.log; specification-version=1.0.0,
12 com.ibm.ive.eccomm.flash; specification-version=1.2.0,
19 Export-Package: com.ibm.ive.eccomm.client.services.authentication; specification-version=1.0.0,
20 com.ibm.ive.eccomm.service.authentication; specification-version=1.0.0,
21 com.ibm.ive.eccomm.common; specification-version=1.0.0,
22 com.ibm.ive.eccomm.client.services.registry.store; specification-version=1.0.0
/libcore/dom/src/test/java/org/w3c/domts/
DJTidyDOMImplementation.java44 String version) { in hasFeature() argument
46 return version == null || version.equals("1.0") || version.equals("2.0"); in hasFeature()
127 public Object getFeature(String feature, String version) { in getFeature() argument
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs8/
DPrivateKeyInfo.java53 private int version; field in PrivateKeyInfo
63 public PrivateKeyInfo(int version, AlgorithmIdentifier privateKeyAlgorithm, in PrivateKeyInfo() argument
66 this.version = version; in PrivateKeyInfo()
72 private PrivateKeyInfo(int version, in PrivateKeyInfo() argument
75 this(version, privateKeyAlgorithm, privateKey, attributes); in PrivateKeyInfo()
83 return version; in getVersion()
144 values[0] = ASN1Integer.fromIntValue(privateKeyInfo.version);
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/
DCertificationRequestInfo.java46 private int version; field in CertificationRequestInfo
60 public CertificationRequestInfo(int version, Name subject, in CertificationRequestInfo() argument
62 this.version = version; in CertificationRequestInfo()
69 private CertificationRequestInfo(int version, Name subject, in CertificationRequestInfo() argument
71 this(version, subject, subjectPublicKeyInfo, attributes); in CertificationRequestInfo()
100 return version; in getVersion()
119 res.append(version); in toString()
157 values[0] = ASN1Integer.fromIntValue(certReqInfo.version);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
DTimeStampReq.java51 private final int version; field in TimeStampReq
65 public TimeStampReq(int version, MessageImprint messageImprint, in TimeStampReq() argument
68 this.version = version; in TimeStampReq()
76 private TimeStampReq(int version, MessageImprint messageImprint, in TimeStampReq() argument
79 this (version, messageImprint, reqPolicy, nonce, certReq, extensions); in TimeStampReq()
87 res.append(version); in toString()
152 return version; in getVersion()
203 values[0] = ASN1Integer.fromIntValue(req.version);
DTSTInfo.java66 private final int version; field in TSTInfo
86 public TSTInfo(int version, String policy, MessageImprint messageImprint, in TSTInfo() argument
90 this.version = version; in TSTInfo()
106 res.append(version); in toString()
199 return version; in getVersion()
287 values[0] = ASN1Integer.fromIntValue(info.version);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DTBSCertList.java71 private final int version; field in TBSCertList
222 this.version = 1; in TBSCertList()
245 public TBSCertList(int version, AlgorithmIdentifier signature, in TBSCertList() argument
248 this.version = version; in TBSCertList()
258 private TBSCertList(int version, AlgorithmIdentifier signature, in TBSCertList() argument
262 this.version = version; in TBSCertList()
277 return version; in getVersion()
344 return (version == tbscert.version) in equals()
366 return ((version * 37 + signature.hashCode()) * 37 in hashCode()
376 buffer.append("X.509 CRL v").append(version); in dumpValue()
[all …]
DTBSCertificate.java66 private final int version; field in TBSCertificate
99 public TBSCertificate(int version, BigInteger serialNumber, in TBSCertificate() argument
103 this(version, serialNumber, signature, issuer, validity, subject, in TBSCertificate()
120 public TBSCertificate(int version, BigInteger serialNumber, in TBSCertificate() argument
126 this.version = version; in TBSCertificate()
152 private TBSCertificate(int version, BigInteger serialNumber, in TBSCertificate() argument
158 this(version, serialNumber, signature, issuer, validity, subject, in TBSCertificate()
168 return version; in getVersion()
259 buffer.append("\n Version: V").append(version+1); in dumpValue()
336 values[0] = ASN1Integer.fromIntValue(tbs.version);
/libcore/luni/src/main/java/org/apache/xalan/
DVersion.src24 * Administrative class to keep track of the version number of
28 * to get version information. This class will replace the older
31 * information about the version of the XSLT spec we support.</P>
38 * Get the basic version string for the current Xalan release.
42 * Futurework: have this read version info from jar manifest.
44 * @return String denoting our current version
55 * Print the processor version to the command line.
82 * Major version number.
86 * version.
94 return @version.VERSION@;
[all …]
/libcore/luni/src/main/java/org/apache/xml/serializer/
DVersion.src24 * Administrative class to keep track of the version number of
28 * to get version information.</P>
35 * Get the basic version string for the current Serializer.
39 * Futurework: have this read version info from jar manifest.
41 * @return String denoting our current version
52 * Print the processor version to the command line.
79 * Major version number.
83 * version.
91 return @version.VERSION@;
105 return @version.RELEASE@;
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/
DSignedData.java54 private int version; field in SignedData
62 public SignedData(int version, List digestAlgorithms, ContentInfo contentInfo, in SignedData() argument
64 this.version = version; in SignedData()
102 return version; in getVersion()
109 res.append(version); in toString()
143 values[0] = new byte[] {(byte)sd.version};
DSignerInfo.java60 private int version; field in SignerInfo
70 public SignerInfo(int version, in SignerInfo() argument
78 this.version = version; in SignerInfo()
133 res.append(version); in toString()
187 values[0] = new byte[] {(byte)si.version};
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAuthProviderTest.java74 …double[] version = {0.0, -1.0, Double.MAX_VALUE, Double.MIN_VALUE, Double.NaN, Double.NEGATIVE_INF… in testConstructor01() local
83 for (int j = 0; j < version.length; j++) { in testConstructor01()
85 ap = new AuthProviderStub(str[i], version[j], str[i]); in testConstructor01()
102 public AuthProviderStub(String name, double version, String info) { in AuthProviderStub() argument
103 super( name, version, info); in AuthProviderStub()
DProvider2Test.java34 TestProvider(String name, double version, String info) { in TestProvider() argument
35 super(name, version, info); in TestProvider()
205 public MockProvider(String name, double version, String info) { in MockProvider() argument
206 super(name, version, info); in MockProvider()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
DUUIDTest.java34 assertEquals(1, uuid.version()); in test_ConstructorJJ()
70 assertEquals(0, uuid.version()); in test_version()
72 assertEquals(1, uuid.version()); in test_version()
74 assertEquals(2, uuid.version()); in test_version()
76 assertEquals(3, uuid.version()); in test_version()
78 assertEquals(4, uuid.version()); in test_version()
80 assertEquals(5, uuid.version()); in test_version()
271 assertEquals(4, uuid.version()); in test_randomUUID()
286 assertEquals(3, uuid.version()); in test_nameUUIDFromBytes()
293 assertEquals(3, uuid.version()); in test_nameUUIDFromBytes()
[all …]
/libcore/luni/src/main/java/java/util/
DUUID.java49 private transient int version; field in UUID
95 version = (int) ((mostSigBits & 0x000000000000F000) >>> 12); in init()
97 if (variant != 2 && version != 1) { in init()
280 public int version() { in version() method in UUID
281 return version; in version()
311 if (version != 1) { in timestamp()
327 if (version != 1) { in clockSequence()
343 if (version != 1) { in node()
/libcore/luni/src/main/java/org/w3c/dom/
DDOMImplementation.java31 String version); in hasFeature() argument
134 String version); in getFeature() argument
/libcore/luni/src/main/java/java/security/
DAuthProvider.java46 protected AuthProvider(String name, double version, String info) { in AuthProvider() argument
47 super(name, version, info); in AuthProvider()
/libcore/luni/src/main/java/org/apache/xalan/processor/
DXSLProcessorVersion.src24 * Administrative class to keep track of the version number of
34 * Print the processor version to the command line.
54 * Major version number.
58 * version.
64 public static final int VERSION = @version.VERSION@;
74 public static final int RELEASE = @version.RELEASE@;
85 public static final int MAINTENANCE = @version.MINOR@;
109 * <P>Semantics of the version string are identical to the Xerces project.</P>

12345