Lines Matching defs:DerValue

56 public class DerValue {
208 public DerValue(String value) throws IOException {
225 public DerValue(byte stringTag, String value) throws IOException {
230 * Creates a DerValue from a tag and some DER-encoded data.
235 public DerValue(byte tag, byte[] data) {
246 DerValue(DerInputBuffer in) throws IOException {
293 public DerValue(byte[] buf) throws IOException {
306 public DerValue(byte[] buf, int offset, int len) throws IOException {
319 public DerValue(InputStream in) throws IOException {
384 throw new IOException("extra data given to DerValue constructor");
428 throw new IOException("DerValue.getBoolean, not a BOOLEAN " + tag);
431 throw new IOException("DerValue.getBoolean, invalid length "
447 throw new IOException("DerValue.getOID, not an OID " + tag);
472 "DerValue.getOctetString, not an Octet String: " + tag);
481 throw new IOException("short read on DerValue buffer");
499 throw new IOException("DerValue.getInteger, not an int " + tag);
511 throw new IOException("DerValue.getBigInteger, not an int " + tag);
524 throw new IOException("DerValue.getBigInteger, not an int " + tag);
535 throw new IOException("DerValue.getEnumerated, incorrect tag: "
549 "DerValue.getBitString, not a bit string " + tag);
562 "DerValue.getBitString, not a bit string " + tag);
603 throw new IOException("DerValue.getBitString, not a bit string "
620 throw new IOException("DerValue.getBitString, not a bit string "
648 "DerValue.getPrintableString, not a string " + tag);
661 "DerValue.getT61String, not T61 " + tag);
674 "DerValue.getIA5String, not IA5 " + tag);
688 "DerValue.getBMPString, not BMP " + tag);
704 "DerValue.getUTF8String, not UTF-8 " + tag);
718 "DerValue.getGeneralString, not GeneralString " + tag);
724 * Returns a Date if the DerValue is UtcTime.
730 throw new IOException("DerValue.getUTCTime, not a UtcTime: " + tag);
736 * Returns a Date if the DerValue is GeneralizedTime.
743 "DerValue.getGeneralizedTime, not a GeneralizedTime: " + tag);
755 if (other instanceof DerValue)
756 return equals((DerValue)other);
768 public boolean equals(DerValue other) {
789 private static boolean doEquals(DerValue d1, DerValue d2) {
811 return "[DerValue, null]";
817 return "[DerValue, tag = " + tag
826 * DerValue constructor, a value equivalent to "this" is returned.
927 * Returns a hashcode for this DerValue.
929 * @return a hashcode for this DerValue.