public final class Smf2GroupRecord extends SmfRecord
Typically you would obtain Smf2GroupRecords by reading SmfRecords and using
new
Smf2GroupRecord(SmfRecord)
to create the specialized record after determining the record type and subtype.
Constructor and Description |
---|
Smf2GroupRecord(byte[] data)
Constructs an Smf2Record from the specified byte array.
|
Smf2GroupRecord(SmfRecord record)
Constructs a new Smf2Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
List<GroupAlternateSignature> |
alternateSignatures()
Get a List containing Alternate Signatures from the record
|
boolean |
firstGroup()
Return true if FIRSTGROUP bit in
smf2gflg2() is set. |
static Smf2GroupRecord |
from(byte[] data)
Constructs an Smf2GroupRecord from the specified byte array.
|
static Smf2GroupRecord |
from(SmfRecord record)
Constructs a new Smf2GroupRecord from an existing SMF record.
|
boolean |
groupHasSubtype()
Return true if GROUPHASSUBTYPE bit in
smf2gflg2() is set. |
int |
groupRecordType()
SMF2GRTYPE or SMF2GRTYPX value.
|
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.
|
GroupSelfDefiningSection |
selfDefiningSection()
Get the self defining section for this record, or null if there is no self defining section
|
long |
smf2gcnt()
SMF2GCNT value.
|
LocalDate |
smf2gdte()
SMF2GDTE as a LocalDate.
|
int |
smf2gdteRawValue()
SMF2GDTE raw value.
|
LocalDate |
smf2gfdte()
SMF2GFDTE as a LocalDate.
|
int |
smf2gfdteRawValue()
SMF2GFDTE raw value.
|
int |
smf2gflg()
SMF2GFLG value.
|
int |
smf2gflg2()
SMF2GFLG2 value.
|
LocalTime |
smf2gftme()
SMF2GFTME as a LocalTime.
|
long |
smf2gftmeRawValue()
SMF2GFTME raw value
|
int |
smf2ghashmeth()
SMF2GHASHMETH value.
|
boolean |
smf2ghashmethSha1()
Return true if SHA1 bit in
smf2ghashmeth() is set. |
boolean |
smf2ghashmethSha256()
Return true if SHA256 bit in
smf2ghashmeth() is set. |
boolean |
smf2ghashmethSha384()
Return true if SHA384 bit in
smf2ghashmeth() is set. |
boolean |
smf2ghashmethSha512()
Return true if SHA512 bit in
smf2ghashmeth() is set. |
int |
smf2glen()
SMF2GLEN value.
|
String |
smf2grsid()
SMF2GRSID value.
|
int |
smf2grty()
SMF2GRTY value.
|
int |
smf2grtype()
Deprecated.
use
groupRecordType() instead. |
int |
smf2grtypx()
SMF2GRTYPX value.
|
int |
smf2gseg()
SMF2GSEG value.
|
String |
smf2gsid()
SMF2GSID value.
|
byte[] |
smf2gsig()
SMF2GSIG data.
|
int |
smf2gsiglen()
SMF2GSIGLEN value.
|
int |
smf2gsigtype()
SMF2GSIGTYPE value.
|
boolean |
smf2gsigtypeEcdsa()
Return true if ECDSA bit in
smf2gsigtype() is set. |
boolean |
smf2gsigtypeRsa()
Return true if RSA bit in
smf2gsigtype() is set. |
int |
smf2gstp()
SMF2GSTP value.
|
int |
smf2gstype()
SMF2GSTYPE value.
|
LocalTime |
smf2gtme()
SMF2GTME as a LocalTime.
|
long |
smf2gtmeRawValue()
SMF2GTME raw value
|
String |
smf2gtokenname()
SMF2GTOKENNAME value.
|
String |
smf2gwid()
SMF2GWID value.
|
boolean |
typeInSmf2grtypx()
Return true if this group type is in SMF2GRTYPX.
|
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 Smf2GroupRecord(byte[] data)
data
- a byte array containing the SMF record datapublic Smf2GroupRecord(SmfRecord record)
record
- an existing SMF recordpublic static Smf2GroupRecord from(SmfRecord record)
record
- an existing SMF recordpublic static Smf2GroupRecord from(byte[] data)
data
- a byte array containing the SMF record datapublic int smf2glen()
public int smf2gseg()
public int smf2gflg()
public int smf2grty()
public LocalTime smf2gtme()
LocalTime
public long smf2gtmeRawValue()
public LocalDate smf2gdte()
LocalDate
public int smf2gdteRawValue()
public String smf2gsid()
public String smf2gwid()
public int smf2gstp()
public String smf2grsid()
public int smf2gflg2()
public boolean firstGroup()
smf2gflg2()
is set.FIRSTGROUP = 0x80
public boolean groupHasSubtype()
smf2gflg2()
is set.GROUPHASSUBTYPE = 0x40
public boolean typeInSmf2grtypx()
SMF2GRTYPX = 0x20
public boolean hasOA55526()
public boolean hasSelfDefiningSection()
public int groupRecordType()
@Deprecated public int smf2grtype()
groupRecordType()
instead.groupRecordType()
to return SMF2GRTYPE or SMF2GRTYPX depending on the flag or smf2grtypx()
for z/OS 2.3+public int smf2gstype()
public LocalTime smf2gftme()
LocalTime
public long smf2gftmeRawValue()
public LocalDate smf2gfdte()
LocalDate
public int smf2gfdteRawValue()
public long smf2gcnt()
public int smf2ghashmeth()
public boolean smf2ghashmethSha1()
smf2ghashmeth()
is set.SHA1 = 0x80
public boolean smf2ghashmethSha256()
smf2ghashmeth()
is set.SHA256 = 0x40
public boolean smf2ghashmethSha384()
smf2ghashmeth()
is set.SHA384 = 0x20
public boolean smf2ghashmethSha512()
smf2ghashmeth()
is set.SHA512 = 0x10
public int smf2gsigtype()
public boolean smf2gsigtypeRsa()
smf2gsigtype()
is set.RSA = 0x80
public boolean smf2gsigtypeEcdsa()
smf2gsigtype()
is set.ECDSA = 0x40
public String smf2gtokenname()
public int smf2grtypx()
public int smf2gsiglen()
public byte[] smf2gsig()
public GroupSelfDefiningSection selfDefiningSection()
public List<GroupAlternateSignature> alternateSignatures()
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.