1
package org.bouncycastle.util.io.pem;
8
public PemHeader(String name, String value)
14
public String getName()
19
public String getValue()
26
return getHashCode(this.name) + 31 * getHashCode(this.value);
29
public boolean equals(Object o)
31
if (!(o instanceof PemHeader))
36
PemHeader other = (PemHeader)o;
38
return other == this || (isEqual(this.name, other.name) && isEqual(this.value, other.value));
41
private int getHashCode(String s)
51
private boolean isEqual(String s1, String s2)
58
if (s1 == null || s2 == null)