Lines Matching defs:EncryptionKey

46  * This class encapsulates the concept of an EncryptionKey. An encryption
49 * EncryptionKey ::= SEQUENCE {
67 public class EncryptionKey
70 public static final EncryptionKey NULL_KEY =
71 new EncryptionKey(new byte[] {}, EncryptedData.ETYPE_NULL, null);
97 return new EncryptionKey(keyValue, keyType, kvno);
112 public static EncryptionKey acquireSecretKey(PrincipalName princ,
140 public static EncryptionKey[] acquireSecretKeys(PrincipalName princ,
162 public static EncryptionKey acquireSecretKey(PrincipalName cname,
185 public static EncryptionKey acquireSecretKey(char[] password,
189 return new EncryptionKey(
207 public static EncryptionKey[] acquireSecretKeys(char[] password,
215 EncryptionKey[] encKeys = new EncryptionKey[etypes.length];
218 encKeys[i] = new EncryptionKey(
233 public EncryptionKey(byte[] keyValue,
241 throw new IllegalArgumentException("EncryptionKey: " +
249 * Constructs an EncryptionKey by using the specified key type and key
256 public EncryptionKey(int keyType,
303 public EncryptionKey(char[] password,
335 EncryptionKey(EncryptionKey key) throws KrbCryptoException {
380 * Constructs an instance of EncryptionKey type.
390 public EncryptionKey(DerValue encoding) throws Asn1Exception, IOException {
413 * Returns the ASN.1 encoding of this EncryptionKey.
416 * EncryptionKey ::= SEQUENCE {
427 * @return byte array of encoded EncryptionKey object.
469 * @return an instance of EncryptionKey.
472 public static EncryptionKey parse(DerInputStream data, byte
484 return new EncryptionKey(subDer);
509 return new String("EncryptionKey: keyType=" + keyType
521 public static EncryptionKey findKey(int etype, EncryptionKey[] keys)
547 public static EncryptionKey findKey(int etype, Integer kvno, EncryptionKey[] keys)
582 return new EncryptionKey(etype, keys[i].getBytes());