public int hashCode() { return getHashCode(this.name) + 31 * getHashCode(this.value); }
public void writeObject(PemObjectGenerator objGen) throws IOException { PemObject obj = objGen.generate(); writePreEncapsulationBoundary(obj.getType()); if (!obj.getHeaders().isEmpty()) { for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) { PemHeader hdr = (PemHeader)it.next(); this.write(hdr.getName()); this.write(": "); this.write(hdr.getValue()); this.newLine(); } this.newLine(); } writeEncoded(obj.getContent()); writePostEncapsulationBoundary(obj.getType()); }
public Object parseObject(PemObject obj) throws IOException { return SubjectPublicKeyInfo.getInstance(obj.getContent()); } }
public void writeObject( PemObjectGenerator obj) throws IOException { super.writeObject(obj); } }
public Object parseObject(PemObject obj) throws IOException { return new X509AttributeCertificateHolder(obj.getContent()); } }
public void writeObject( PemObjectGenerator obj) throws IOException { super.writeObject(obj); } }
public int hashCode() { return getHashCode(this.name) + 31 * getHashCode(this.value); }
public Object parseObject(PemObject obj) throws IOException { return SubjectPublicKeyInfo.getInstance(obj.getContent()); } }
public void writeObject( PemObjectGenerator obj) throws IOException { super.writeObject(obj); } }
public int hashCode() { return getHashCode(this.name) + 31 * getHashCode(this.value); }
public void writeObject( PemObjectGenerator obj) throws IOException { super.writeObject(obj); } }