Searched defs:encoded (Results 1 - 25 of 37) sorted by relevance

12

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DPrivateKeyInfo.java62 PrivateKeyInfo(byte[] encoded) throws IOException { argument
63 DerValue val = new DerValue(encoded);
H A DAESParameters.java60 protected void engineInit(byte[] encoded) argument
62 core.init(encoded);
65 protected void engineInit(byte[] encoded, String decodingMethod) argument
67 core.init(encoded, decodingMethod);
H A DBlockCipherParamsCore.java70 void init(byte[] encoded) throws IOException { argument
71 DerInputStream der = new DerInputStream(encoded);
84 void init(byte[] encoded, String decodingMethod) argument
90 init(encoded);
H A DBlowfishParameters.java61 protected void engineInit(byte[] encoded) argument
63 core.init(encoded);
66 protected void engineInit(byte[] encoded, String decodingMethod) argument
68 core.init(encoded, decodingMethod);
H A DDESParameters.java61 protected void engineInit(byte[] encoded) argument
63 core.init(encoded);
66 protected void engineInit(byte[] encoded, String decodingMethod) argument
68 core.init(encoded, decodingMethod);
H A DDESedeParameters.java60 protected void engineInit(byte[] encoded) argument
62 core.init(encoded);
65 protected void engineInit(byte[] encoded, String decodingMethod) argument
67 core.init(encoded, decodingMethod);
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 = (byte[])encoded.clone();
90 this.encoded = null; // lazy generation of encoding
113 if (this.encoded != null) return (byte[])this.encoded.clone();
126 this.encoded
[all...]
H A DPBEParameters.java72 protected void engineInit(byte[] encoded) argument
76 DerValue val = new DerValue(encoded);
95 protected void engineInit(byte[] encoded, String decodingMethod) argument
98 engineInit(encoded);
H A DOAEPParameters.java123 protected void engineInit(byte[] encoded) argument
125 DerInputStream der = new DerInputStream(encoded);
169 throw new IOException("Invalid encoded OAEPParameters");
174 protected void engineInit(byte[] encoded, String decodingMethod) argument
180 engineInit(encoded);
H A DRC2Parameters.java62 // size to/from encoded version number
134 protected void engineInit(byte[] encoded) throws IOException { argument
135 DerValue val = new DerValue(encoded);
175 protected void engineInit(byte[] encoded, String decodingMethod) argument
177 engineInit(encoded);
/openjdk7/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);
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyRep.java105 * The encoded Key bytes
109 private byte[] encoded; field in class:KeyRep
121 * @param encoded the encoded bytes returned from
128 * or if encoded is <code>null</code>
131 String format, byte[] encoded) {
134 format == null || encoded == null) {
141 this.encoded = encoded.clone();
150 * constructed using encoded ke
130 KeyRep(Type type, String algorithm, String format, byte[] encoded) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DPolicyQualifierInfo.java94 * encoded bytes. The encoded byte array is copied on construction.
96 * @param encoded a byte array containing the qualifier in DER encoding
100 public PolicyQualifierInfo(byte[] encoded) throws IOException { argument
101 mEncoded = encoded.clone();
130 * Returns the ASN.1 DER encoded form of this
133 * @return the ASN.1 DER encoded bytes (never <code>null</code>).
142 * Returns the ASN.1 DER encoded form of the <code>qualifier</code>
145 * @return the ASN.1 DER encoded bytes of the <code>qualifier</code>
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECPrivateKeyImpl.java56 * require that the parameters are encoded as part of the AlgorithmIdentifier,
73 public ECPrivateKeyImpl(byte[] encoded) throws InvalidKeyException { argument
74 decode(encoded);
147 + "encoded in the algorithm identifier");
H A DECPublicKeyImpl.java67 public ECPublicKeyImpl(byte[] encoded) throws InvalidKeyException { argument
68 decode(encoded);
86 // Internal API to get the encoded point. Currently used by SunPKCS11.
/openjdk7/jdk/src/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...]
H A DPKCS10.java82 * request may be used, it must be encoded and signed. Then it
95 * request may be used, it must be encoded and signed. Then it
109 * Parses an encoded, signed PKCS #10 certificate request, verifying
114 * @param data the DER-encoded PKCS #10 request.
128 encoded = data;
197 if (encoded != null)
240 encoded = out.toByteArray();
261 * Returns the encoded and signed certificate request as a
262 * DER-encoded byte array.
268 if (encoded !
353 private byte[] encoded; // signed field in class:PKCS10
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAPrivateKey.java95 public DSAPrivateKey(byte[] encoded) throws InvalidKeyException { argument
97 decode(encoded);
H A DDSAPublicKey.java103 public DSAPublicKey(byte[] encoded) throws InvalidKeyException { argument
104 decode(encoded);
H A DDSAPublicKeyImpl.java69 public DSAPublicKeyImpl(byte[] encoded) throws InvalidKeyException { argument
70 super(encoded);
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAPublicKeyImpl.java82 public RSAPublicKeyImpl(byte[] encoded) throws InvalidKeyException { argument
83 decode(encoded);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/util/
H A DHexBin.java65 * @return return encoded string
87 * @param encoded encoded string
90 static public byte[] decode(String encoded) { argument
91 if (encoded == null)
93 int lengthData = encoded.length();
97 char[] binaryData = encoded.toCharArray();
/openjdk7/jdk/src/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();
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DEncryptedPrivateKeyInfo.java66 // the ASN.1 encoded contents of this class
67 private byte[] encoded = null; field in class:EncryptedPrivateKeyInfo
72 * @param encoded the ASN.1 encoding of this object. The contents of
74 * @exception NullPointerException if the <code>encoded</code> is null.
77 public EncryptedPrivateKeyInfo(byte[] encoded) argument
79 if (encoded == null) {
80 throw new NullPointerException("the encoded parameter " +
83 this.encoded = (byte[])encoded.clone();
84 DerValue val = new DerValue(this.encoded);
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java174 byte[] encoded = key.getEncoded();
175 p11Key = createKey(token, encoded, algo, algoType, extraAttrs);
188 private static P11Key createKey(Token token, byte[] encoded, argument
191 int n = encoded.length << 3;
198 fixDESParity(encoded, 0);
203 fixDESParity(encoded, 0);
204 fixDESParity(encoded, 8);
209 fixDESParity(encoded, 16);
261 attributes[2] = new CK_ATTRIBUTE(CKA_VALUE, encoded);

Completed in 69 milliseconds

12