Home | History | Annotate | Download | only in x509

Lines Matching defs:key

48     public static final String IDENT = "x509.info.key";
52 public static final String NAME = "key";
53 public static final String KEY = "value";
56 private PublicKey key;
61 * @param key the X509Key
63 public CertificateX509Key(PublicKey key) {
64 this.key = key;
75 key = X509Key.parse(val);
86 key = X509Key.parse(val);
90 * Return the key as printable string.
93 if (key == null) return "";
94 return(key.toString());
98 * Encode the key in DER form to the stream.
105 tmp.write(key.getEncoded());
114 if (name.equalsIgnoreCase(KEY)) {
115 this.key = (PublicKey)obj;
126 if (name.equalsIgnoreCase(KEY)) {
127 return(key);
138 if (name.equalsIgnoreCase(KEY)) {
139 key = null;
152 elements.addElement(KEY);