public class HeaderRequestIdentity extends HeaderRequest implements Serializable
Modifier and Type | Field and Description |
---|---|
protected UsagePeriod |
period |
static long |
serialVersionUID |
CRLF
Constructor and Description |
---|
HeaderRequestIdentity() |
HeaderRequestIdentity(org.bouncycastle.asn1.ASN1Encodable ae)
Creates a class from the given ASN.1 object.
|
Modifier and Type | Method and Description |
---|---|
String |
dumpValueNotation(String prefix,
DumpType dumpType) |
int |
getId() |
protected HeaderRequest |
getRequest(org.bouncycastle.asn1.ASN1Encodable ae) |
UsagePeriod |
getUsagePeriod() |
org.bouncycastle.asn1.ASN1Object |
intToAsn1Object(DumpType dumpType) |
protected void |
parse(org.bouncycastle.asn1.ASN1Encodable ae) |
UsagePeriod |
setUsagePeriod(UsagePeriod newPeriod)
Sets the usage period of the identity to the new value.
|
toAsn1Object
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
public static final long serialVersionUID
protected UsagePeriod period
public HeaderRequestIdentity()
public HeaderRequestIdentity(org.bouncycastle.asn1.ASN1Encodable ae) throws IOException
Creates a class from the given ASN.1 object.
ae
- the ASN.1 object to be translatedIOException
- if parsing of the ASN.1 failsprotected final void parse(org.bouncycastle.asn1.ASN1Encodable ae) throws IOException
parse
in class AbstractBlock
IOException
protected HeaderRequest getRequest(org.bouncycastle.asn1.ASN1Encodable ae) throws IOException
getRequest
in class HeaderRequest
IOException
public int getId()
public UsagePeriod getUsagePeriod()
public UsagePeriod setUsagePeriod(UsagePeriod newPeriod)
Sets the usage period of the identity to the new value.
newPeriod
- the new usage periodpublic String dumpValueNotation(String prefix, DumpType dumpType)
dumpValueNotation
in interface Block
public org.bouncycastle.asn1.ASN1Object intToAsn1Object(DumpType dumpType)
Copyright © 2023. All rights reserved.