String

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.crypto.cryptobyte
  • Platforms: .NET, .NET Standard 2.0, Island
  • Ancestry:
    • ValueType | String  .NET, .NET Standard 2.0, Island-watchOS-armv7k
    • ValueType | String  Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows

 

constructor

 

constructor

 

String()

 

init()

 

Sub New()

constructor (Slice<Byte>)

 

constructor(aValue: Slice<Byte>)

 

String(Slice<Byte> aValue)

 

init(_ aValue: Slice<Byte>)

 

Sub New(aValue As Slice<Byte>)

Parameters:

  • aValue:

CopyBytes

 

method CopyBytes(out: Slice<Byte>): bool

 

bool CopyBytes(Slice<Byte> out)

 

func CopyBytes(_ out: Slice<Byte>) -> bool

 

func CopyBytes(out Slice<Byte>) bool

 

Function CopyBytes(out As Slice<Byte>) As bool

Parameters:

  • out:

Empty

 

method Empty: bool

 

bool Empty()

 

func Empty() -> bool

 

func Empty() bool

 

Function Empty() As bool

Equals

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

 

Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

 

Function GetHashCode() As Int32

PeekASN1Tag

 

method PeekASN1Tag(tag: Tag): bool

 

bool PeekASN1Tag(Tag tag)

 

func PeekASN1Tag(_ tag: Tag) -> bool

 

func PeekASN1Tag(tag Tag) bool

 

Function PeekASN1Tag(tag As Tag) As bool

Parameters:

  • tag:

ReadAnyASN1

 

method ReadAnyASN1(out: Memory<String>; outTag: Memory<Tag>): bool

 

bool ReadAnyASN1(Memory<String> out, Memory<Tag> outTag)

 

func ReadAnyASN1(_ out: Memory<String>, _ outTag: Memory<Tag>) -> bool

 

func ReadAnyASN1(out Memory<String>, outTag Memory<Tag>) bool

 

Function ReadAnyASN1(out As Memory<String>, outTag As Memory<Tag>) As bool

Parameters:

  • out:
  • outTag:

ReadAnyASN1Element

 

method ReadAnyASN1Element(out: Memory<String>; outTag: Memory<Tag>): bool

 

bool ReadAnyASN1Element(Memory<String> out, Memory<Tag> outTag)

 

func ReadAnyASN1Element(_ out: Memory<String>, _ outTag: Memory<Tag>) -> bool

 

func ReadAnyASN1Element(out Memory<String>, outTag Memory<Tag>) bool

 

Function ReadAnyASN1Element(out As Memory<String>, outTag As Memory<Tag>) As bool

Parameters:

  • out:
  • outTag:

ReadASN1

 

method ReadASN1(out: Memory<String>; tag: Tag): bool

 

bool ReadASN1(Memory<String> out, Tag tag)

 

func ReadASN1(_ out: Memory<String>, _ tag: Tag) -> bool

 

func ReadASN1(out Memory<String>, tag Tag) bool

 

Function ReadASN1(out As Memory<String>, tag As Tag) As bool

Parameters:

  • out:
  • tag:

ReadASN1BitString

 

method ReadASN1BitString(out: Memory<BitString>): bool

 

bool ReadASN1BitString(Memory<BitString> out)

 

func ReadASN1BitString(_ out: Memory<BitString>) -> bool

 

func ReadASN1BitString(out Memory<BitString>) bool

 

Function ReadASN1BitString(out As Memory<BitString>) As bool

Parameters:

  • out:

ReadASN1BitStringAsBytes

 

method ReadASN1BitStringAsBytes(out: Memory<Slice<byte>>): bool

 

bool ReadASN1BitStringAsBytes(Memory<Slice<byte>> out)

 

func ReadASN1BitStringAsBytes(_ out: Memory<Slice<byte>>) -> bool

 

func ReadASN1BitStringAsBytes(out Memory<Slice<byte>>) bool

 

Function ReadASN1BitStringAsBytes(out As Memory<Slice<byte>>) As bool

Parameters:

  • out:

ReadASN1Boolean

 

method ReadASN1Boolean(out: Memory<Boolean>): bool

 

bool ReadASN1Boolean(Memory<Boolean> out)

 

func ReadASN1Boolean(_ out: Memory<Boolean>) -> bool

 

func ReadASN1Boolean(out Memory<Boolean>) bool

 

Function ReadASN1Boolean(out As Memory<Boolean>) As bool

Parameters:

  • out:

ReadASN1Bytes

 

method ReadASN1Bytes(out: Memory<Slice<byte>>; tag: Tag): bool

 

bool ReadASN1Bytes(Memory<Slice<byte>> out, Tag tag)

 

func ReadASN1Bytes(_ out: Memory<Slice<byte>>, _ tag: Tag) -> bool

 

func ReadASN1Bytes(out Memory<Slice<byte>>, tag Tag) bool

 

Function ReadASN1Bytes(out As Memory<Slice<byte>>, tag As Tag) As bool

Parameters:

  • out:
  • tag:

ReadASN1Element

 

method ReadASN1Element(out: Memory<String>; tag: Tag): bool

 

bool ReadASN1Element(Memory<String> out, Tag tag)

 

func ReadASN1Element(_ out: Memory<String>, _ tag: Tag) -> bool

 

func ReadASN1Element(out Memory<String>, tag Tag) bool

 

Function ReadASN1Element(out As Memory<String>, tag As Tag) As bool

Parameters:

  • out:
  • tag:

ReadASN1Enum

 

method ReadASN1Enum(out: Memory<Int64>): bool

 

bool ReadASN1Enum(Memory<Int64> out)

 

func ReadASN1Enum(_ out: Memory<Int64>) -> bool

 

func ReadASN1Enum(out Memory<Int64>) bool

 

Function ReadASN1Enum(out As Memory<Int64>) As bool

Parameters:

  • out:

ReadASN1GeneralizedTime

 

method ReadASN1GeneralizedTime(out: Memory<Time>): bool

 

bool ReadASN1GeneralizedTime(Memory<Time> out)

 

func ReadASN1GeneralizedTime(_ out: Memory<Time>) -> bool

 

func ReadASN1GeneralizedTime(out Memory<Time>) bool

 

Function ReadASN1GeneralizedTime(out As Memory<Time>) As bool

Parameters:

  • out:

ReadASN1Int64WithTag

 

method ReadASN1Int64WithTag(out: Memory<int64>; tag: Tag): bool

 

bool ReadASN1Int64WithTag(Memory<int64> out, Tag tag)

 

func ReadASN1Int64WithTag(_ out: Memory<int64>, _ tag: Tag) -> bool

 

func ReadASN1Int64WithTag(out Memory<int64>, tag Tag) bool

 

Function ReadASN1Int64WithTag(out As Memory<int64>, tag As Tag) As bool

Parameters:

  • out:
  • tag:

ReadASN1Integer

 

method ReadASN1Integer(out: Object): bool

 

bool ReadASN1Integer(Object out)

 

func ReadASN1Integer(_ out: Object) -> bool

 

func ReadASN1Integer(out interface{}) bool

 

Function ReadASN1Integer(out As Object) As bool

Parameters:

  • out:

ReadASN1ObjectIdentifier

 

method ReadASN1ObjectIdentifier(out: Memory<ObjectIdentifier>): bool

 

bool ReadASN1ObjectIdentifier(Memory<ObjectIdentifier> out)

 

func ReadASN1ObjectIdentifier(_ out: Memory<ObjectIdentifier>) -> bool

 

func ReadASN1ObjectIdentifier(out Memory<ObjectIdentifier>) bool

 

Function ReadASN1ObjectIdentifier(out As Memory<ObjectIdentifier>) As bool

Parameters:

  • out:

ReadBytes

 

method ReadBytes(out: Memory<Slice<byte>>; n: int): bool

 

bool ReadBytes(Memory<Slice<byte>> out, int n)

 

func ReadBytes(_ out: Memory<Slice<byte>>, _ n: int) -> bool

 

func ReadBytes(out Memory<Slice<byte>>, n int) bool

 

Function ReadBytes(out As Memory<Slice<byte>>, n As int) As bool

Parameters:

  • out:
  • n:

ReadOptionalASN1

 

method ReadOptionalASN1(out: Memory<String>; outPresent: Memory<Boolean>; tag: Tag): bool

 

bool ReadOptionalASN1(Memory<String> out, Memory<Boolean> outPresent, Tag tag)

 

func ReadOptionalASN1(_ out: Memory<String>, _ outPresent: Memory<Boolean>, _ tag: Tag) -> bool

 

func ReadOptionalASN1(out Memory<String>, outPresent Memory<Boolean>, tag Tag) bool

 

Function ReadOptionalASN1(out As Memory<String>, outPresent As Memory<Boolean>, tag As Tag) As bool

Parameters:

  • out:
  • outPresent:
  • tag:

ReadOptionalASN1Boolean

 

method ReadOptionalASN1Boolean(out: Memory<Boolean>; defaultValue: bool): bool

 

bool ReadOptionalASN1Boolean(Memory<Boolean> out, bool defaultValue)

 

func ReadOptionalASN1Boolean(_ out: Memory<Boolean>, _ defaultValue: bool) -> bool

 

func ReadOptionalASN1Boolean(out Memory<Boolean>, defaultValue bool) bool

 

Function ReadOptionalASN1Boolean(out As Memory<Boolean>, defaultValue As bool) As bool

Parameters:

  • out:
  • defaultValue:

ReadOptionalASN1Integer

 

method ReadOptionalASN1Integer(out: Object; tag: Tag; defaultValue: Object): bool

 

bool ReadOptionalASN1Integer(Object out, Tag tag, Object defaultValue)

 

func ReadOptionalASN1Integer(_ out: Object, _ tag: Tag, _ defaultValue: Object) -> bool

 

func ReadOptionalASN1Integer(out interface{}, tag Tag, defaultValue interface{}) bool

 

Function ReadOptionalASN1Integer(out As Object, tag As Tag, defaultValue As Object) As bool

Parameters:

  • out:
  • tag:
  • defaultValue:

ReadOptionalASN1OctetString

 

method ReadOptionalASN1OctetString(out: Memory<Slice<byte>>; outPresent: Memory<Boolean>; tag: Tag): bool

 

bool ReadOptionalASN1OctetString(Memory<Slice<byte>> out, Memory<Boolean> outPresent, Tag tag)

 

func ReadOptionalASN1OctetString(_ out: Memory<Slice<byte>>, _ outPresent: Memory<Boolean>, _ tag: Tag) -> bool

 

func ReadOptionalASN1OctetString(out Memory<Slice<byte>>, outPresent Memory<Boolean>, tag Tag) bool

 

Function ReadOptionalASN1OctetString(out As Memory<Slice<byte>>, outPresent As Memory<Boolean>, tag As Tag) As bool

Parameters:

  • out:
  • outPresent:
  • tag:

ReadUint16

 

method ReadUint16(out: Memory<UInt16>): bool

 

bool ReadUint16(Memory<UInt16> out)

 

func ReadUint16(_ out: Memory<UInt16>) -> bool

 

func ReadUint16(out Memory<UInt16>) bool

 

Function ReadUint16(out As Memory<UInt16>) As bool

Parameters:

  • out:

ReadUint16LengthPrefixed

 

method ReadUint16LengthPrefixed(out: Memory<String>): bool

 

bool ReadUint16LengthPrefixed(Memory<String> out)

 

func ReadUint16LengthPrefixed(_ out: Memory<String>) -> bool

 

func ReadUint16LengthPrefixed(out Memory<String>) bool

 

Function ReadUint16LengthPrefixed(out As Memory<String>) As bool

Parameters:

  • out:

ReadUint24

 

method ReadUint24(out: Memory<UInt32>): bool

 

bool ReadUint24(Memory<UInt32> out)

 

func ReadUint24(_ out: Memory<UInt32>) -> bool

 

func ReadUint24(out Memory<UInt32>) bool

 

Function ReadUint24(out As Memory<UInt32>) As bool

Parameters:

  • out:

ReadUint24LengthPrefixed

 

method ReadUint24LengthPrefixed(out: Memory<String>): bool

 

bool ReadUint24LengthPrefixed(Memory<String> out)

 

func ReadUint24LengthPrefixed(_ out: Memory<String>) -> bool

 

func ReadUint24LengthPrefixed(out Memory<String>) bool

 

Function ReadUint24LengthPrefixed(out As Memory<String>) As bool

Parameters:

  • out:

ReadUint32

 

method ReadUint32(out: Memory<UInt32>): bool

 

bool ReadUint32(Memory<UInt32> out)

 

func ReadUint32(_ out: Memory<UInt32>) -> bool

 

func ReadUint32(out Memory<UInt32>) bool

 

Function ReadUint32(out As Memory<UInt32>) As bool

Parameters:

  • out:

ReadUint8

 

method ReadUint8(out: Memory<Byte>): bool

 

bool ReadUint8(Memory<Byte> out)

 

func ReadUint8(_ out: Memory<Byte>) -> bool

 

func ReadUint8(out Memory<Byte>) bool

 

Function ReadUint8(out As Memory<Byte>) As bool

Parameters:

  • out:

ReadUint8LengthPrefixed

 

method ReadUint8LengthPrefixed(out: Memory<String>): bool

 

bool ReadUint8LengthPrefixed(Memory<String> out)

 

func ReadUint8LengthPrefixed(_ out: Memory<String>) -> bool

 

func ReadUint8LengthPrefixed(out Memory<String>) bool

 

Function ReadUint8LengthPrefixed(out As Memory<String>) As bool

Parameters:

  • out:

 

method Skip(n: int): bool

 

bool Skip(int n)

 

func Skip(_ n: int) -> bool

 

func Skip(n int) bool

 

Function Skip(n As int) As bool

Parameters:

  • n:

SkipASN1

 

method SkipASN1(tag: Tag): bool

 

bool SkipASN1(Tag tag)

 

func SkipASN1(_ tag: Tag) -> bool

 

func SkipASN1(tag Tag) bool

 

Function SkipASN1(tag As Tag) As bool

Parameters:

  • tag:

SkipOptionalASN1

 

method SkipOptionalASN1(tag: Tag): bool

 

bool SkipOptionalASN1(Tag tag)

 

func SkipOptionalASN1(_ tag: Tag) -> bool

 

func SkipOptionalASN1(tag Tag) bool

 

Function SkipOptionalASN1(tag As Tag) As bool

Parameters:

  • tag:

Value

 

var Value: Slice<Byte>;

 

Slice<Byte> Value

 

var Value: Slice<Byte>

 

Value Slice<Byte>

 

FIELD Value() As Slice<Byte>

 

Value

 

var Value: Slice<Byte>;

 

Slice<Byte> Value

 

var Value: Slice<Byte>

 

Value Slice<Byte>

 

FIELD Value() As Slice<Byte>

 

constructor

 

constructor

 

String()

 

init()

 

Sub New()

constructor (Slice<Byte>)

 

constructor(aValue: Slice<Byte>)

 

String(Slice<Byte> aValue)

 

init(_ aValue: Slice<Byte>)

 

Sub New(aValue As Slice<Byte>)

Parameters:

  • aValue:

Empty

 

method Empty: bool

 

bool Empty()

 

func Empty() -> bool

 

func Empty() bool

 

Function Empty() As bool

Equals

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

 

Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

 

Function GetHashCode() As Int32

PeekASN1Tag

 

method PeekASN1Tag(tag: Tag): bool

 

bool PeekASN1Tag(Tag tag)

 

func PeekASN1Tag(_ tag: Tag) -> bool

 

func PeekASN1Tag(tag Tag) bool

 

Function PeekASN1Tag(tag As Tag) As bool

Parameters:

  • tag: