Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityRecord ¶
type ActivityRecord struct {
RecordId tkValueObject.ActivityRecordId `json:"recordId"`
RecordLevel tkValueObject.ActivityRecordLevel `json:"recordLevel"`
RecordCode tkValueObject.ActivityRecordCode `json:"recordCode"`
AffectedResources []tkValueObject.SystemResourceIdentifier `json:"affectedResources"`
RecordDetails any `json:"recordDetails"`
OperatorSri *tkValueObject.SystemResourceIdentifier `json:"operatorSri"`
OperatorIpAddress *tkValueObject.IpAddress `json:"operatorIpAddress"`
CreatedAt tkValueObject.UnixTime `json:"createdAt"`
}
func NewActivityRecord ¶
func NewActivityRecord( recordId tkValueObject.ActivityRecordId, recordLevel tkValueObject.ActivityRecordLevel, recordCode tkValueObject.ActivityRecordCode, affectedResources []tkValueObject.SystemResourceIdentifier, recordDetails any, operatorSri *tkValueObject.SystemResourceIdentifier, operatorIpAddress *tkValueObject.IpAddress, createdAt tkValueObject.UnixTime, ) ActivityRecord
type UnixFile ¶ added in v0.4.0
type UnixFile struct {
Name tkValueObject.UnixFileName `json:"name"`
Path tkValueObject.UnixAbsoluteFilePath `json:"path"`
MimeType tkValueObject.MimeType `json:"mimeType"`
Permissions tkValueObject.UnixFilePermissions `json:"permissions"`
Size tkValueObject.Byte `json:"size"`
Extension *tkValueObject.UnixFileExtension `json:"extension"`
Uid tkValueObject.UnixUserId `json:"uid"`
Owner tkValueObject.UnixUsername `json:"owner"`
Gid tkValueObject.UnixGroupId `json:"gid"`
Group tkValueObject.UnixGroupName `json:"group"`
UpdatedAt tkValueObject.UnixTime `json:"updatedAt"`
IsSymlink bool `json:"isSymlink"`
}
func NewUnixFile ¶ added in v0.4.0
func NewUnixFile( name tkValueObject.UnixFileName, path tkValueObject.UnixAbsoluteFilePath, mimeType tkValueObject.MimeType, permissions tkValueObject.UnixFilePermissions, size tkValueObject.Byte, extension *tkValueObject.UnixFileExtension, uid tkValueObject.UnixUserId, owner tkValueObject.UnixUsername, gid tkValueObject.UnixGroupId, group tkValueObject.UnixGroupName, updatedAt tkValueObject.UnixTime, isSymlink bool, ) UnixFile
type X509Certificate ¶ added in v0.2.0
type X509Certificate struct {
SerialNumber tkValueObject.X509SerialNumber `json:"serialNumber"`
VersionNumber tkValueObject.X509VersionNumber `json:"versionNumber"`
SubjectCommonName *tkValueObject.X509SubjectName `json:"subjectCommonName"`
SubjectAltNames []tkValueObject.X509SubjectName `json:"subjectAltNames"`
SubjectDistinguishedName *tkValueObject.X509DistinguishedName `json:"subjectDistinguishedName"`
IssuerCommonName *tkValueObject.X509SubjectName `json:"issuerCommonName"`
IssuerDistinguishedName *tkValueObject.X509DistinguishedName `json:"issuerDistinguishedName"`
ValidityNotBefore tkValueObject.UnixTime `json:"validityNotBefore"`
ValidityNotAfter tkValueObject.UnixTime `json:"validityNotAfter"`
PublicKeyAlgorithm tkValueObject.X509PublicKeyAlgorithm `json:"publicKeyAlgorithm"`
PublicKeySize tkValueObject.X509PublicKeySize `json:"publicKeySize"`
PublicKeyValue tkValueObject.X509PublicKeyValue `json:"publicKeyValue"`
SignatureAlgorithm tkValueObject.X509SignatureAlgorithm `json:"signatureAlgorithm"`
SignatureValue *tkValueObject.X509SignatureValue `json:"signatureValue"`
FingerprintSHA256 tkValueObject.X509Fingerprint `json:"fingerprintSha256"`
KeyUsage []tkValueObject.X509KeyUsage `json:"keyUsage"`
ExtendedKeyUsage []tkValueObject.X509ExtendedKeyUsage `json:"extendedKeyUsage"`
BasicConstraints *tkValueObject.X509BasicConstraints `json:"basicConstraints"`
SubjectKeyIdentifier *tkValueObject.X509KeyIdentifier `json:"subjectKeyIdentifier"`
AuthorityKeyIdentifier *tkValueObject.X509KeyIdentifier `json:"authorityKeyIdentifier"`
CertificatePolicies []tkValueObject.X509CertificatePolicy `json:"certificatePolicies"`
EnvelopedCertificate tkValueObject.X509EnvelopedCertificate `json:"envelopedCertificate"`
}
func NewX509Certificate ¶ added in v0.2.0
func NewX509Certificate( serialNumber tkValueObject.X509SerialNumber, versionNumber tkValueObject.X509VersionNumber, subjectCommonName *tkValueObject.X509SubjectName, subjectAltNames []tkValueObject.X509SubjectName, subjectDistinguishedName *tkValueObject.X509DistinguishedName, issuerCommonName *tkValueObject.X509SubjectName, issuerDistinguishedName *tkValueObject.X509DistinguishedName, validityNotBefore, validityNotAfter tkValueObject.UnixTime, publicKeyAlgorithm tkValueObject.X509PublicKeyAlgorithm, publicKeySize tkValueObject.X509PublicKeySize, publicKeyValue tkValueObject.X509PublicKeyValue, signatureAlgorithm tkValueObject.X509SignatureAlgorithm, signatureValue *tkValueObject.X509SignatureValue, fingerprintSHA256 tkValueObject.X509Fingerprint, keyUsage []tkValueObject.X509KeyUsage, extendedKeyUsage []tkValueObject.X509ExtendedKeyUsage, basicConstraints *tkValueObject.X509BasicConstraints, subjectKeyIdentifier, authorityKeyIdentifier *tkValueObject.X509KeyIdentifier, certificatePolicies []tkValueObject.X509CertificatePolicy, envelopedCertificate tkValueObject.X509EnvelopedCertificate, ) X509Certificate
func NewX509CertificateFromEnvelopedCertificate ¶ added in v0.2.0
func NewX509CertificateFromEnvelopedCertificate( envelopedCertificate tkValueObject.X509EnvelopedCertificate, ) (x509CertEntity X509Certificate, err error)
Click to show internal directories.
Click to hide internal directories.