public final class Smf2IntervalRecord extends SmfRecord
Constructor and Description |
---|
Smf2IntervalRecord(byte[] data)
Constructs an Smf2Record from the specified byte array.
|
Smf2IntervalRecord(SmfRecord record)
Constructs a new Smf2Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
List<IntervalAlternateSignature> |
alternateSignatures()
Get a List containing Alternate Signatures from the record
|
boolean |
firstInterval()
Return true if FIRSTINTERVAL bit in
smf2iflg2() is set. |
static Smf2IntervalRecord |
from(byte[] data)
Constructs an Smf2IntervalRecord from the specified byte array.
|
static Smf2IntervalRecord |
from(SmfRecord record)
Constructs a new Smf2IntervalRecord from an existing SMF record.
|
boolean |
hasOA55526()
Return true if this record indicates that the fix for OA55526 was applied.
|
boolean |
hasSelfDefiningSection()
Return true if this record has a self defining section.
|
boolean |
intervalClose()
Return true if this is a Close Interval record - the CLOSEINTERVAL bit in
smf2iflg2() is set. |
boolean |
intervalHalt()
Return true if this interval is the result of a HALT - the HALTINTERVAL bit in
smf2iflg2() is set. |
boolean |
intervalHasSubtype()
Return true if INTERVALHASSUBTYPE bit in
smf2iflg2() is set. |
boolean |
intervalNewCryptoOptions()
Return true if this interval contains new cryptography options - NEWINTERVALCRYPTOOPTIONS bit in
smf2iflg2() is set. |
int |
intervalRecordType()
SMF2IRTYPE or SMF2IRTYPX value.
|
IntervalSelfDefiningSection |
selfDefiningSection()
Get the self defining section for this record, or null if there is no self defining section
|
long |
smf2icnt()
SMF2ICNT value.
|
LocalDate |
smf2idte()
SMF2IDTE as a LocalDate.
|
int |
smf2idteRawValue()
SMF2IDTE raw value.
|
LocalDate |
smf2ifdte()
SMF2IFDTE as a LocalDate.
|
int |
smf2ifdteRawValue()
SMF2IFDTE raw value.
|
int |
smf2iflg()
SMF2IFLG value.
|
int |
smf2iflg2()
SMF2IFLG2 value.
|
LocalTime |
smf2iftme()
SMF2IFTME as a LocalTime.
|
long |
smf2iftmeRawValue()
SMF2IFTME raw value
|
int |
smf2ihashmeth()
SMF2IHASHMETH value.
|
boolean |
smf2ihashmethSha1()
Return true if SHA1 bit in
smf2ihashmeth() is set. |
boolean |
smf2ihashmethSha256()
Return true if SHA256 bit in
smf2ihashmeth() is set. |
boolean |
smf2ihashmethSha384()
Return true if SHA384 bit in
smf2ihashmeth() is set. |
boolean |
smf2ihashmethSha512()
Return true if SHA512 bit in
smf2ihashmeth() is set. |
LocalDate |
smf2ildte()
SMF2ILDTE as a LocalDate.
|
int |
smf2ildteRawValue()
SMF2ILDTE raw value.
|
int |
smf2ilen()
SMF2ILEN value.
|
LocalTime |
smf2iltme()
SMF2ILTME as a LocalTime.
|
long |
smf2iltmeRawValue()
SMF2ILTME raw value
|
LocalDate |
smf2indte()
SMF2INDTE as a LocalDate.
|
int |
smf2indteRawValue()
SMF2INDTE raw value.
|
LocalTime |
smf2intme()
SMF2INTME as a LocalTime.
|
long |
smf2intmeRawValue()
SMF2INTME raw value
|
String |
smf2irsid()
SMF2IRSID value.
|
int |
smf2irty()
SMF2IRTY value.
|
int |
smf2irtype()
Deprecated.
use
intervalRecordType() instead. |
int |
smf2irtypx()
SMF2IRTYPX value.
|
int |
smf2iseg()
SMF2ISEG value.
|
String |
smf2isid()
SMF2ISID value.
|
byte[] |
smf2isig()
SMF2ISIG data.
|
int |
smf2isiglen()
SMF2ISIGLEN value.
|
int |
smf2isigtype()
SMF2ISIGTYPE value.
|
boolean |
smf2isigtypeEcdsa()
Return true if ECDSA bit in
smf2isigtype() is set. |
boolean |
smf2isigtypeRsa()
Return true if RSA bit in
smf2isigtype() is set. |
int |
smf2istp()
SMF2ISTP value.
|
int |
smf2istype()
SMF2ISTYPE value.
|
LocalTime |
smf2itme()
SMF2ITME as a LocalTime.
|
long |
smf2itmeRawValue()
SMF2ITME raw value
|
String |
smf2itokenname()
SMF2ITOKENNAME value.
|
String |
smf2iwid()
SMF2IWID value.
|
boolean |
typeInSmf2irtypx()
Return true if this interval type is in SMF2IRTYPX.
|
equals, extendedHeader, extendedHeader, hashCode, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system, toString
createSection, dump, dump, dump, dump, getBytes, getBytes, getDataArray, getTriplet
public Smf2IntervalRecord(byte[] data)
data
- a byte array containing the SMF record datapublic Smf2IntervalRecord(SmfRecord record)
record
- an existing SMF recordpublic static Smf2IntervalRecord from(SmfRecord record)
record
- an existing SMF recordpublic static Smf2IntervalRecord from(byte[] data)
data
- a byte array containing the SMF record datapublic int smf2ilen()
public int smf2iseg()
public int smf2iflg()
public int smf2irty()
public LocalTime smf2itme()
LocalTime
public long smf2itmeRawValue()
public LocalDate smf2idte()
LocalDate
public int smf2idteRawValue()
public String smf2isid()
public String smf2iwid()
public int smf2istp()
public String smf2irsid()
public int smf2iflg2()
public boolean firstInterval()
smf2iflg2()
is set.FIRSTINTERVAL = 0x80
public boolean intervalHasSubtype()
smf2iflg2()
is set.INTERVALHASSUBTYPE = 0x40
public boolean intervalHalt()
smf2iflg2()
is set.HALTINTERVAL = 0x20
public boolean intervalNewCryptoOptions()
smf2iflg2()
is set.NEWINTERVALCRYPTOOPTIONS = 0x10
public boolean typeInSmf2irtypx()
SMF2IRTYPX = 0x08
public boolean intervalClose()
smf2iflg2()
is set.CLOSEINTERVAL = 0x04
public boolean hasOA55526()
public boolean hasSelfDefiningSection()
public int intervalRecordType()
@Deprecated public int smf2irtype()
intervalRecordType()
instead.intervalRecordType()
to return SMF2IRTYPE or SMF2IRTYPX depending on flags or smf2irtypx()
for z/OS 2.3+public int smf2istype()
public LocalTime smf2iftme()
LocalTime
public long smf2iftmeRawValue()
public LocalDate smf2ifdte()
LocalDate
public int smf2ifdteRawValue()
public LocalTime smf2iltme()
LocalTime
public long smf2iltmeRawValue()
public LocalDate smf2ildte()
LocalDate
public int smf2ildteRawValue()
public LocalTime smf2intme()
LocalTime
public long smf2intmeRawValue()
public LocalDate smf2indte()
LocalDate
public int smf2indteRawValue()
public long smf2icnt()
public int smf2ihashmeth()
public boolean smf2ihashmethSha1()
smf2ihashmeth()
is set.SHA1 = 0x80
public boolean smf2ihashmethSha256()
smf2ihashmeth()
is set.SHA256 = 0x40
public boolean smf2ihashmethSha384()
smf2ihashmeth()
is set.SHA384 = 0x20
public boolean smf2ihashmethSha512()
smf2ihashmeth()
is set.SHA512 = 0x10
public int smf2isigtype()
public boolean smf2isigtypeRsa()
smf2isigtype()
is set.RSA = 0x80
public boolean smf2isigtypeEcdsa()
smf2isigtype()
is set.ECDSA = 0x40
public String smf2itokenname()
public int smf2irtypx()
public int smf2isiglen()
public byte[] smf2isig()
public IntervalSelfDefiningSection selfDefiningSection()
public List<IntervalAlternateSignature> alternateSignatures()
Copyright © 2021 Black Hill Software Pty Ltd. All rights reserved.