Documentation ¶
Index ¶
- func Base64UrlDecode(data string) []byte
- func Base64UrlEncode(data []byte) string
- func ByteLength(bitLength int) int
- func Concat(array1, array2 []byte) []byte
- func LoadDecryptionKey(filePath, password string) (*rsa.PrivateKey, error)
- func LoadEncryptionCertificate(certificatePath string) (*x509.Certificate, error)
- func LoadUnencryptedDecryptionKey(keyFilePath string) (*rsa.PrivateKey, error)
- func ParseReader(r io.Reader) string
- func SubArray(byteArray []byte, beginIndex, length int) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64UrlDecode ¶
func Base64UrlEncode ¶
func ByteLength ¶
func LoadDecryptionKey ¶
func LoadDecryptionKey(filePath, password string) (*rsa.PrivateKey, error)
LoadDecryptionKey from an Unencrypted Key File
func LoadEncryptionCertificate ¶
func LoadEncryptionCertificate(certificatePath string) (*x509.Certificate, error)
Load certificate in both pem and der format
func LoadUnencryptedDecryptionKey ¶
func LoadUnencryptedDecryptionKey(keyFilePath string) (*rsa.PrivateKey, error)
Load decryption key
func ParseReader ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.