mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-13 20:41:25 -04:00
62 lines
1.2 KiB
Go
62 lines
1.2 KiB
Go
package crypto
|
|
|
|
type (
|
|
RSA2048PublicKey [256]byte
|
|
RSA2048PrivateKey [512]byte
|
|
)
|
|
|
|
// Bytes implements SigningPublicKey.
|
|
func (r RSA2048PublicKey) Bytes() []byte {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// Len implements SigningPublicKey.
|
|
func (r RSA2048PublicKey) Len() int {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// NewVerifier implements SigningPublicKey.
|
|
func (r RSA2048PublicKey) NewVerifier() (Verifier, error) {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
type (
|
|
RSA3072PublicKey [384]byte
|
|
RSA3072PrivateKey [786]byte
|
|
)
|
|
|
|
// Bytes implements SigningPublicKey.
|
|
func (r RSA3072PublicKey) Bytes() []byte {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// Len implements SigningPublicKey.
|
|
func (r RSA3072PublicKey) Len() int {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// NewVerifier implements SigningPublicKey.
|
|
func (r RSA3072PublicKey) NewVerifier() (Verifier, error) {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
type (
|
|
RSA4096PublicKey [512]byte
|
|
RSA4096PrivateKey [1024]byte
|
|
)
|
|
|
|
// Bytes implements SigningPublicKey.
|
|
func (r RSA4096PublicKey) Bytes() []byte {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// Len implements SigningPublicKey.
|
|
func (r RSA4096PublicKey) Len() int {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// NewVerifier implements SigningPublicKey.
|
|
func (r RSA4096PublicKey) NewVerifier() (Verifier, error) {
|
|
panic("unimplemented")
|
|
}
|