Comment IntegerBytes

This commit is contained in:
idk
2021-04-24 15:35:08 -04:00
parent 1cd9d16760
commit ffbdc7f967
2 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,9 @@ func Integer(number []byte) (value int) {
return
}
//
// Take an int representation and return a big endian integer.
//
func IntegerBytes(value int) (number []byte) {
number = make([]byte, INTEGER_SIZE)
binary.BigEndian.PutUint64(number, uint64(value))

View File

@ -65,8 +65,6 @@ type KeysAndCert struct {
Certificate
}
//[]byte
//
// Return the PublicKey for this KeysAndCert, reading from the Key Certificate if it is present to
// determine correct lengths.