Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1
Class DERUTCTime

    java.lang.Object
      |
      +--org.bouncycastle.asn1.DERObject
            |
            +--org.bouncycastle.asn1.DERUTCTime

All Implemented Interfaces:
  DEREncodable, DERTags

public class DERUTCTime
extends DERObject

UTC time object.

Field Summary

Fields inherited from interface org.bouncycastle.asn1.DERTags
`APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING`

Constructor Summary
`DERUTCTime(java.lang.String time)`

Method Summary
`java.lang.String` | `getAdjustedTime()` return the time as an adjusted date with a 4 digit year.
`java.lang.String` | `getTime()` return the time - always in the form of YYMMDDhhmmss[Z|+hh'mm'|-hh'mm']

Methods inherited from class org.bouncycastle.asn1.DERObject
`getDERObject`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DERUTCTime

    public DERUTCTime(java.lang.String time)

Method Detail

### getTime

    public java.lang.String getTime()

  return the time - always in the form of YYMMDDhhmmss[Z|+hh'mm'|-hh'mm']

### getAdjustedTime

    public java.lang.String getAdjustedTime()

  return the time as an adjusted date with a 4 digit year. This goes in the range of 1950 - 2049.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD