Package net.messagevortex.asn1
Class HeaderRequestIdentity
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.HeaderRequest
net.messagevortex.asn1.HeaderRequestIdentity
- All Implemented Interfaces:
Serializable,Block,Dumpable
ASN1 parser for identity request.
- See Also:
-
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
ConstructorsConstructorDescriptionHeaderRequestIdentity(org.bouncycastle.asn1.ASN1Encodable ae) Creates a class from the given ASN.1 object. -
Method Summary
Modifier and TypeMethodDescriptiondumpValueNotation(String prefix, DumpType dumpType) intgetId()protected HeaderRequestgetRequest(org.bouncycastle.asn1.ASN1Encodable ae) org.bouncycastle.asn1.ASN1ObjectintToAsn1Object(DumpType dumpType) protected final voidparse(org.bouncycastle.asn1.ASN1Encodable ae) setUsagePeriod(UsagePeriod newPeriod) Sets the usage period of the identity to the new value.Methods inherited from class net.messagevortex.asn1.HeaderRequest
toAsn1ObjectMethods inherited from class net.messagevortex.asn1.AbstractBlock
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
period
-
-
Constructor Details
-
HeaderRequestIdentity
public HeaderRequestIdentity() -
HeaderRequestIdentity
Creates a class from the given ASN.1 object.
- Parameters:
ae- the ASN.1 object to be translated- Throws:
IOException- if parsing of the ASN.1 fails
-
-
Method Details
-
parse
- Specified by:
parsein classAbstractBlock- Throws:
IOException
-
getRequest
- Specified by:
getRequestin classHeaderRequest- Throws:
IOException
-
getId
public int getId() -
getUsagePeriod
-
setUsagePeriod
Sets the usage period of the identity to the new value.
- Parameters:
newPeriod- the new usage period- Returns:
- the previously set usage period
-
dumpValueNotation
- Specified by:
dumpValueNotationin interfaceBlock
-
intToAsn1Object
-