Show / Hide Table of Contents

Class InvalidBlockSignatureException

An exception thrown when a block's signature is invalid.

Inheritance
Object
Exception
InvalidBlockException
InvalidBlockSignatureException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
System.Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
System.Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class InvalidBlockSignatureException : InvalidBlockException, ISerializable

Constructors

| Improve this Doc View Source

InvalidBlockSignatureException(SerializationInfo, StreamingContext)

An exception thrown when a block's signature is invalid.

Declaration
protected InvalidBlockSignatureException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
| Improve this Doc View Source

InvalidBlockSignatureException(String, PublicKey, Nullable<ImmutableArray<Byte>>)

Creates a new InvalidBlockPublicKeyException instance.

Declaration
public InvalidBlockSignatureException(string message, PublicKey publicKey, ImmutableArray<byte>? invalidSignature)
Parameters
Type Name Description
String message

A message that describes the error.

PublicKey publicKey

The public key used for signing the block.

Nullable<System.Collections.Immutable.ImmutableArray<System.Byte>> invalidSignature

The block signature which is invalid.

Properties

| Improve this Doc View Source

InvalidSignature

The block signature which is invalid.

Declaration
[Pure]
public ImmutableArray<byte>? InvalidSignature { get; }
Property Value
Type Description
Nullable<System.Collections.Immutable.ImmutableArray<System.Byte>>
| Improve this Doc View Source

PublicKey

The public key used for signing the block.

Declaration
[Pure]
public PublicKey PublicKey { get; }
Property Value
Type Description
PublicKey

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

An exception thrown when a block's signature is invalid.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium