Searched refs:encoded (Results 1 - 25 of 120) sorted by relevance

12345

/openjdk10/jdk/src/java.base/share/classes/javax/net/ssl/
H A DSNIServerName.java52 // the encoded value of the server name
53 private final byte[] encoded; field in class:SNIServerName
60 * encoded value.
62 * Note that the {@code encoded} byte array is cloned to protect against
67 * @param encoded
68 * the encoded value of the server name
72 * @throws NullPointerException if {@code encoded} is null
74 protected SNIServerName(int type, byte[] encoded) { argument
84 if (encoded == null) {
86 "Server name encoded valu
[all...]
/openjdk10/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DEncryptedPrivateKeyInfo.java52 // the ASN.1 encoded contents of this class
53 private byte[] encoded; field in class:EncryptedPrivateKeyInfo
59 EncryptedPrivateKeyInfo(byte[] encoded) throws IOException { argument
60 DerValue val = new DerValue(encoded);
80 this.encoded = encoded.clone();
90 this.encoded = null; // lazy generation of encoding
113 if (this.encoded != null) return this.encoded.clone();
126 this.encoded
[all...]
H A DAESParameters.java57 protected void engineInit(byte[] encoded) argument
59 core.init(encoded);
62 protected void engineInit(byte[] encoded, String decodingMethod) argument
64 core.init(encoded, decodingMethod);
H A DBlowfishParameters.java58 protected void engineInit(byte[] encoded) argument
60 core.init(encoded);
63 protected void engineInit(byte[] encoded, String decodingMethod) argument
65 core.init(encoded, decodingMethod);
H A DDESedeParameters.java57 protected void engineInit(byte[] encoded) argument
59 core.init(encoded);
62 protected void engineInit(byte[] encoded, String decodingMethod) argument
64 core.init(encoded, decodingMethod);
H A DDESParameters.java58 protected void engineInit(byte[] encoded) argument
60 core.init(encoded);
63 protected void engineInit(byte[] encoded, String decodingMethod) argument
65 core.init(encoded, decodingMethod);
H A DPrivateKeyInfo.java62 PrivateKeyInfo(byte[] encoded) throws IOException { argument
63 DerValue val = new DerValue(encoded);
H A DBlockCipherParamsCore.java69 void init(byte[] encoded) throws IOException { argument
70 DerInputStream der = new DerInputStream(encoded);
83 void init(byte[] encoded, String decodingMethod) argument
89 init(encoded);
/openjdk10/jdk/test/sun/nio/cs/
H A DTestCp93xSISO.java39 byte[] encoded = s.getBytes(encName[i]);
40 for (int j=0 ; j<encoded.length; j++) {
41 if (encoded[j] != (byte)0x6f) // Expect to map to 0x6f
H A DEucJpLinuxDecoderRecoveryTest.java33 byte[] encoded = {
49 ByteArrayInputStream bais = new ByteArrayInputStream(encoded);
/openjdk10/jdk/src/java.base/share/classes/sun/security/pkcs/
H A DEncryptedPrivateKeyInfo.java55 // the ASN.1 encoded contents of this class
56 private byte[] encoded; field in class:EncryptedPrivateKeyInfo
62 public EncryptedPrivateKeyInfo(byte[] encoded) argument
65 if (encoded == null) {
69 DerValue val = new DerValue(encoded);
89 this.encoded = encoded.clone();
121 if (this.encoded != null) return this.encoded.clone();
134 this.encoded
[all...]
/openjdk10/jdk/test/java/net/URL/
H A DB4148751.java42 // encoded URL / URI
43 final static String encoded = "http://web2.javasoft.com/some%20file.html"; field in class:B4148751
53 url1 = new URL(encoded);
76 if (!url.toString().equals (encoded)) {
78 encoded);
/openjdk10/jdk/src/java.base/share/classes/java/security/
H A DKeyRep.java106 * The encoded Key bytes
110 private byte[] encoded; field in class:KeyRep
120 * @param encoded the encoded bytes returned from
127 * or if encoded is {@code null}
130 String format, byte[] encoded) {
133 format == null || encoded == null) {
140 this.encoded = encoded.clone();
149 * constructed using encoded ke
129 KeyRep(Type type, String algorithm, String format, byte[] encoded) argument
[all...]
H A DPKCS12Attribute.java47 private byte[] encoded; field in class:PKCS12Attribute
61 * A string value will be DER-encoded as an ASN.1 UTF8String and a
62 * binary value will be DER-encoded as an ASN.1 Octet String.
97 this.encoded = encode(type, values);
117 * @param encoded the attribute's ASN.1 DER encoding. It is cloned
120 * @exception NullPointerException if {@code encoded} is
122 * @exception IllegalArgumentException if {@code encoded} is
125 public PKCS12Attribute(byte[] encoded) { argument
126 if (encoded == null) {
129 this.encoded
253 parse(byte[] encoded) argument
[all...]
/openjdk10/jdk/test/com/sun/crypto/provider/TLS/
H A DTestPremaster.java81 byte[] encoded = key.getEncoded();
82 if (encoded != null) { // raw key material may be not extractable
83 if (encoded.length != 48) {
84 throw new Exception("length: " + encoded.length);
86 int v = versionOf(encoded[0], encoded[1]);
/openjdk10/jdk/test/javax/security/auth/x500/X500Principal/
H A DDerIsConstructor.java42 // get the encoded bytes for the 2 principals
43 byte[] encoded = p.getEncoded();
48 byte[] all = new byte[encoded.length + encoded2.length];
49 System.arraycopy(encoded, 0, all, 0, encoded.length);
50 System.arraycopy(encoded2, 0, all, encoded.length, encoded2.length);
68 all2[encoded.length + 2] = (byte)-1;
/openjdk10/jdk/src/java.base/share/classes/javax/crypto/
H A DEncryptedPrivateKeyInfo.java69 // the ASN.1 encoded contents of this class
70 private byte[] encoded = null; field in class:EncryptedPrivateKeyInfo
75 * @param encoded the ASN.1 encoding of this object. The contents of
77 * @exception NullPointerException if the <code>encoded</code> is null.
80 public EncryptedPrivateKeyInfo(byte[] encoded) argument
82 if (encoded == null) {
83 throw new NullPointerException("the encoded parameter " +
86 this.encoded = encoded.clone();
87 DerValue val = new DerValue(this.encoded);
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/security/util/
H A DNamedCurve.java48 // encoded form (as NamedCurve identified via OID)
49 private final byte[] encoded; field in class:NamedCurve
65 encoded = out.toByteArray();
73 return encoded.clone();
/openjdk10/jdk/test/java/net/URLEncoder/
H A DDecoder.java51 String encoded = URLEncoder.encode(strings[i], enc);
52 System.out.println("ecnoded: " + encoded);
53 String decoded = URLDecoder.decode(encoded, enc);
/openjdk10/jdk/test/sun/security/pkcs11/tls/
H A DTestPremaster.java98 byte[] encoded = key.getEncoded();
99 if (encoded != null) { // raw key material may be not extractable
100 if (encoded.length != 48) {
101 throw new Exception("length: " + encoded.length);
103 int v = versionOf(encoded[0], encoded[1]);
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/
H A DDSAPublicKeyImpl.java69 public DSAPublicKeyImpl(byte[] encoded) throws InvalidKeyException { argument
70 super(encoded);
/openjdk10/jdk/src/java.base/share/classes/sun/security/pkcs12/
H A DMacData.java52 // the ASN.1 encoded contents of this class
53 private byte[] encoded = null; field in class:MacData
111 this.encoded = null;
141 this.encoded = null;
169 if (this.encoded != null)
170 return this.encoded.clone();
193 this.encoded = out.toByteArray();
195 return this.encoded.clone();
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/
H A DServerNameExtension.java128 byte[] encoded = s.getBytes16();
132 if (encoded.length == 0) {
137 serverName = new SNIHostName(encoded);
142 (new String(encoded, StandardCharsets.UTF_8)) +
143 ", value=" + Debug.toString(encoded));
150 serverName = new UnknownServerName(code, encoded);
154 "), value=" + Debug.toString(encoded));
166 remains -= encoded.length + NAME_HEADER_LENGTH;
278 UnknownServerName(int code, byte[] encoded) { argument
279 super(code, encoded);
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/security/pkcs10/
H A DPKCS10.java81 * request may be used, it must be encoded and signed. Then it
94 * request may be used, it must be encoded and signed. Then it
108 * Parses an encoded, signed PKCS #10 certificate request, verifying
113 * @param data the DER-encoded PKCS #10 request.
127 encoded = data;
197 if (encoded != null)
241 encoded = out.toByteArray();
267 * Returns the encoded and signed certificate request as a
268 * DER-encoded byte array.
274 if (encoded !
360 private byte[] encoded; // signed field in class:PKCS10
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dv/util/
H A DHexBin.java66 * @return return encoded string
88 * @param encoded encoded string
91 static public byte[] decode(String encoded) { argument
92 if (encoded == null)
94 int lengthData = encoded.length();
98 char[] binaryData = encoded.toCharArray();

Completed in 112 milliseconds

12345