/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | EncTGSRepPart.java | 67 public EncTGSRepPart(byte[] data) throws Asn1Exception, argument 69 init(new DerValue(data));
|
H A D | HostAddress.java | 226 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data. 227 * @exception IOException if an I/O error occurs while reading encoded data. 250 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data. 251 * @exception IOException if an I/O error occurs while reading encoded data. 274 * @exception IOException if an I/O error occurs while reading encoded data. 275 * @param data the Der input stream value, which contains one or more marshaled value. 277 * @param optional indicates if this data field is optional 281 public static HostAddress parse(DerInputStream data, byte explicitTag, argument 285 (((byte)data.peekByte() & (byte)0x1F) != explicitTag)) { 288 DerValue der = data [all...] |
H A D | HostAddresses.java | 176 * ASN1 encoded data. 178 * encoded data. 199 * ASN1 encoded data. 201 * encoded data. 222 * @param data the Der input stream value, which contains one or more 225 * @param optional indicates if this data field is optional. 228 public static HostAddresses parse(DerInputStream data, argument 232 (((byte)data.peekByte() & (byte)0x1F) != explicitTag)) 234 DerValue der = data.getDerValue(); 244 * Writes data fiel [all...] |
H A D | KDCRep.java | 102 public KDCRep(byte[] data, int req_type) throws Asn1Exception, argument 104 init(new DerValue(data), req_type); 124 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data. 125 * @exception IOException if an I/O error occurs while reading encoded data. 127 * a Realm object from DER-encoded data. 129 * data stream does not match the pre-defined value. 189 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data. 190 * @exception IOException if an I/O error occurs while reading encoded data.
|
H A D | KRBSafeBody.java | 44 * user-data [0] OCTET STRING, 89 * @param encoding a Der-encoded data. 90 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data. 91 * @exception IOException if an I/O error occurs while reading encoded data. 123 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data. 124 * @exception IOException if an I/O error occurs while reading encoded data. 157 * @param data the Der input stream value, which contains one or more marshaled value. 159 * @param optional indicates if this data field is optional 163 public static KRBSafeBody parse(DerInputStream data, byte explicitTag, boolean optional) throws Asn1Exception, IOException { argument 164 if ((optional) && (((byte)data [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | Aes128CtsHmacSha1EType.java | 74 public byte[] encrypt(byte[] data, byte[] key, int usage) argument 77 return encrypt(data, key, ivec, usage); 80 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) argument 83 return Aes128.encrypt(key, usage, ivec, data, 0, data.length); 108 // Override default, because our decrypted data does not return confounder 111 public byte[] decryptedData(byte[] data) { argument 112 return data;
|
H A D | Aes256CtsHmacSha1EType.java | 74 public byte[] encrypt(byte[] data, byte[] key, int usage) argument 77 return encrypt(data, key, ivec, usage); 80 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) argument 83 return Aes256.encrypt(key, usage, ivec, data, 0, data.length); 108 // Override default, because our decrypted data does not return confounder 111 public byte[] decryptedData(byte[] data) { argument 112 return data;
|
H A D | ArcFourHmacEType.java | 74 public byte[] encrypt(byte[] data, byte[] key, int usage) argument 77 return encrypt(data, key, ivec, usage); 80 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) argument 83 return ArcFourHmac.encrypt(key, usage, ivec, data, 0, data.length); 108 // Override default, because our decrypted data does not return confounder 111 public byte[] decryptedData(byte[] data) { argument 112 return data;
|
H A D | CksumType.java | 153 public abstract byte[] calculateChecksum(byte[] data, int size) argument 156 public abstract byte[] calculateKeyedChecksum(byte[] data, int size, argument 159 public abstract boolean verifyKeyedChecksum(byte[] data, int size, argument
|
H A D | Crc32CksumType.java | 66 public byte[] calculateChecksum(byte[] data, int size) { argument 67 return crc32.byte2crc32sum_bytes(data, size); 70 public byte[] calculateKeyedChecksum(byte[] data, int size, argument 75 public boolean verifyKeyedChecksum(byte[] data, int size, argument
|
H A D | Des.java | 257 // pad data 342 * Pads the data so that its length is a multiple of 8 bytes. 343 * @param data the raw data. 344 * @return the data being padded. 348 static byte[] pad(byte[] data) { argument 350 if (data.length < 8) len = data.length; 351 else len = data.length % 8; 352 if (len == 0) return data; [all...] |
H A D | Des3CbcHmacSha1KdEType.java | 68 public byte[] encrypt(byte[] data, byte[] key, int usage) argument 71 return encrypt(data, key, ivec, usage); 74 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) argument 77 return Des3.encrypt(key, usage, ivec, data, 0, data.length); 102 // Override default, because our decrypted data does not return confounder 105 public byte[] decryptedData(byte[] data) { argument 106 return data;
|
H A D | DesCbcEType.java | 39 protected abstract byte[] calculateChecksum(byte[] data, int size) argument 55 * Encrypts the data using DES in CBC mode. 56 * @param data the buffer for plain text. 57 * @param key the key to encrypt the data. 58 * @return the buffer for encrypted data. 63 public byte[] encrypt(byte[] data, byte[] key, int usage) argument 66 return encrypt(data, key, ivec, usage); 70 * Encrypts the data using DES in CBC mode. 71 * @param data the buffer for plain text. 72 * @param key the key to encrypt the data 78 encrypt(byte[] data, byte[] key, byte[] ivec, int usage) argument 168 copyChecksumField(byte[] data, byte[] cksum) argument 173 checksumField(byte[] data) argument 180 resetChecksumField(byte[] data) argument 195 generateChecksum(byte[] data) argument 217 isChecksumValid(byte[] data) argument [all...] |
H A D | DesMacCksumType.java | 68 public byte[] calculateChecksum(byte[] data, int size) { argument 74 * @param data the data used to generate the checksum. 75 * @param size length of the data. 81 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument 86 System.arraycopy(data, 0, new_data, confounderSize(), size); 125 * @param data the data. 126 * @param size the length of data. 133 public boolean verifyKeyedChecksum(byte[] data, in argument [all...] |
H A D | NullEType.java | 73 public byte[] encrypt(byte[] data, byte[] key, int usage) { argument 74 byte[] cipher = new byte[data.length]; 75 System.arraycopy(data, 0, cipher, 0, data.length); 79 public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) { argument 80 byte[] cipher = new byte[data.length]; 81 System.arraycopy(data, 0, cipher, 0, data.length);
|
H A D | RsaMd5DesCksumType.java | 75 * @param data the data used to generate the checksum. 76 * @param size length of the data. 82 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument 88 System.arraycopy(data, 0, new_data, confounderSize(), size); 120 * @param data the data. 121 * @param size the length of data. 128 public boolean verifyKeyedChecksum(byte[] data, int size, argument 136 System.arraycopy(data, 184 calculateChecksum(byte[] data, int size) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | PKCS10.java | 114 * @param data the DER-encoded PKCS #10 request. 115 * @exception IOException for low level errors reading the data 120 public PKCS10(byte[] data) argument 128 encoded = data; 134 in = new DerInputStream(data); 140 data = seq[0].toByteArray(); // reusing this variable 150 serial = seq[0].data.getBigInteger(); 154 subject = new X500Name(seq[0].data); 155 subjectPublicKeyInfo = X509Key.parse(seq[0].data.getDerValue()); 158 if (seq[0].data [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/krb5/ |
H A D | KerberosPreMasterSecret.java | 133 EncryptedData data = new EncryptedData(sessionKey.getEType(), 136 byte[] temp = data.decrypt(sessionKey, KeyUsage.KU_UNKNOWN); 148 data.getEType() == EncryptedData.ETYPE_DES_CBC_CRC) { 155 data.getEType() == EncryptedData.ETYPE_DES_CBC_MD5) { 226 * Checks if all paddings of data are b 227 * @param data the block with padding 228 * @param len length of data, >= 48 231 private static boolean paddingByteIs(byte[] data, int len, byte b) { argument 233 if (data[i] != b) return false;
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | ManifestEntryVerifier.java | 237 * @param data the binary data to be converted to a hex string 241 static String toHex(byte[] data) { argument 243 StringBuffer sb = new StringBuffer(data.length*2); 245 for (int i=0; i<data.length; i++) { 246 sb.append(hexc[(data[i] >>4) & 0x0f]); 247 sb.append(hexc[data[i] & 0x0f]);
|
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | IntTrie.java | 46 * Trie implementation which stores data in int, 32 bits. 56 * <p>Creates a new Trie with the settings for the trie data.</p> 57 * <p>Unserialize the 32-bit-aligned input stream and use the data for the 59 * @param inputStream file input stream to a ICU data file, containing 62 * data 63 * @throws IOException thrown when data reading fails 83 * @return offset to data 93 * Gets the value to the data which this lead surrogate character points 95 * Returned data may contain folding offset information for the next 99 * @return data valu 210 IntTrie(char index[], int data[], int initialvalue, int options, DataManipulate datamanipulate) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | BinaryMember.java | 102 byte data[] = getAttribute(idExceptions); 103 if (data == null) { 109 DataInputStream in = new DataInputStream(new ByteArrayInputStream(data)); 130 byte data[] = getAttribute(idDocumentation); 131 if (data == null) { 135 return documentation = new DataInputStream(new ByteArrayInputStream(data)).readUTF(); 171 byte data[] = getAttribute(idConstantValue); 172 if (data == null) { 179 Object obj = cpool.getValue(new DataInputStream(new ByteArrayInputStream(data)).readUnsignedShort()); 215 return att.data; 254 addAttribute(Identifier name, byte data[], Environment env) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | XDataViewer.java | 89 public static int getViewerType(Object data) { argument 90 if(XArrayDataViewer.isViewableValue(data)) 92 if(XOpenTypeViewer.isViewableValue(data)) 94 if(XPlottingViewer.isViewableValue(data))
|
H A D | XNodeInfo.java | 33 * and arbitrary data which varies depending on the type of the node: an XMBean 46 public XNodeInfo(Type type, Object data, String label, String tooltip) { argument 48 this.data = data; 58 return data; 74 private Object data; field in class:XNodeInfo
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | MultiSocketFactory.java | 45 private byte[] data; field in class:MultiSocketFactory.ServerFactory 47 public ServerFactory(String protocol, byte[] data) { argument 49 this.data = data; 58 if (data == null || data.length != 1) 60 return new XorServerSocket(port, data[0]); 73 private byte[] data; field in class:MultiSocketFactory.ClientFactory 75 public ClientFactory(String protocol, byte[] data) { argument 77 this.data [all...] |
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | MultiSocketFactory.java | 45 private byte[] data; field in class:MultiSocketFactory.ServerFactory 47 public ServerFactory(String protocol, byte[] data) { argument 49 this.data = data; 58 if (data == null || data.length != 1) 60 return new XorServerSocket(port, data[0]); 73 private byte[] data; field in class:MultiSocketFactory.ClientFactory 75 public ClientFactory(String protocol, byte[] data) { argument 77 this.data [all...] |